summaryrefslogtreecommitdiff
path: root/wx+/dc.h
diff options
context:
space:
mode:
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