X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f38924e863cd44e2abd49d20d201d72aa773c51e..f31bbefd1070af6162b9deeda9d4e528efbc1b31:/src/mgl/dcmemory.cpp 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() ) {