]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcmemory.cpp
added bitmaps to menu items
[wxWidgets.git] / src / os2 / dcmemory.cpp
index 7f28afd8dd81e6710e6d47c525623077f8b512fa..9e6515d0bfa940e10024e4b2f0d9839502aee217 100644 (file)
@@ -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();
 };