]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcmemory.cpp
Fixed bug where if the style included wxFRAME_NO_TASKBAR, not all the extended flags...
[wxWidgets.git] / src / os2 / dcmemory.cpp
index 1ab4a99f27880821dc7bd3a512bbd3def1b7289c..9e6515d0bfa940e10024e4b2f0d9839502aee217 100644 (file)
@@ -77,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();
 };