From ad4e3d2c55e75193c41356c23619f80add41db18 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 2 Oct 2015 14:57:46 +0200 Subject: 7.5 --- wx+/dc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wx+/dc.h') 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(it->second); + oldRect = std::make_unique(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(clientSize.GetWidth(), clientSize.GetHeight()); + buffer = std::make_unique(clientSize.GetWidth(), clientSize.GetHeight()); SelectObject(*buffer); -- cgit