X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb46a9a6c6f291806a5fecbb848930c344e17e11..bada28f00f12666ef31f0543cea2cde86b7935c7:/src/os2/dcmemory.cpp?ds=sidebyside diff --git a/src/os2/dcmemory.cpp b/src/os2/dcmemory.cpp index 7f28afd8dd..9e6515d0bf 100644 --- a/src/os2/dcmemory.cpp +++ b/src/os2/dcmemory.cpp @@ -20,9 +20,7 @@ #include "wx/dcmemory.h" -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC, wxDC) -#endif /* * Memory DC @@ -79,13 +77,13 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap ) void wxMemoryDC::DoGetSize( int *width, int *height ) const { - if (!m_selectedBitmap.Ok()) + if (!m_vSelectedBitmap.Ok()) { *width = 0; *height = 0; return; } - *width = m_selectedBitmap.GetWidth(); - *height = m_selectedBitmap.GetHeight(); + *width = m_vSelectedBitmap.GetWidth(); + *height = m_vSelectedBitmap.GetHeight(); };