summaryrefslogtreecommitdiff
path: root/wx+/dc.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:57:46 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:57:46 +0200
commitad4e3d2c55e75193c41356c23619f80add41db18 (patch)
treedd836d120f50e472106e04968ef8185c25e4242e /wx+/dc.h
parent7.4 (diff)
downloadFreeFileSync-ad4e3d2c55e75193c41356c23619f80add41db18.tar.gz
FreeFileSync-ad4e3d2c55e75193c41356c23619f80add41db18.tar.bz2
FreeFileSync-ad4e3d2c55e75193c41356c23619f80add41db18.zip
7.5
Diffstat (limited to 'wx+/dc.h')
-rw-r--r--wx+/dc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/dc.h b/wx+/dc.h
index 0d3c1cb8..3fba4aaf 100644
--- a/wx+/dc.h
+++ b/wx+/dc.h
@@ -48,7 +48,7 @@ public:
auto it = refDcToAreaMap().find(&dc);
if (it != refDcToAreaMap().end())
{
- oldRect = zen::make_unique<wxRect>(it->second);
+ oldRect = std::make_unique<wxRect>(it->second);
wxRect tmp = r;
tmp.Intersect(*oldRect); //better safe than sorry
@@ -98,7 +98,7 @@ public:
{
const wxSize clientSize = wnd.GetClientSize();
if (!buffer_ || clientSize != wxSize(buffer->GetWidth(), buffer->GetHeight()))
- buffer = zen::make_unique<wxBitmap>(clientSize.GetWidth(), clientSize.GetHeight());
+ buffer = std::make_unique<wxBitmap>(clientSize.GetWidth(), clientSize.GetHeight());
SelectObject(*buffer);
bgstack15