X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38924e863cd44e2abd49d20d201d72aa773c51e..a552d2c3f2bd15d76fb033b250050ef7c093b56d:/src/mgl/dcmemory.cpp?ds=sidebyside diff --git a/src/mgl/dcmemory.cpp b/src/mgl/dcmemory.cpp index c6c4233795..d09e8080f8 100644 --- a/src/mgl/dcmemory.cpp +++ b/src/mgl/dcmemory.cpp @@ -24,21 +24,21 @@ IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC,wxWindowDC) -wxMemoryDC::wxMemoryDC() : wxDC() +void wxMemoryDC::Init() { m_isMemDC = true; } wxMemoryDC::wxMemoryDC(wxDC *WXUNUSED(dc)) : wxDC() { - m_isMemDC = true; + Init(); } wxMemoryDC::~wxMemoryDC() { } -void wxMemoryDC::SelectObject(const wxBitmap& bitmap) +void wxMemoryDC::DoSelect(const wxBitmap& bitmap) { if ( bitmap.Ok() ) {