]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/bitmap.mm
Fixed idle event processing in wxMotif.
[wxWidgets.git] / src / cocoa / bitmap.mm
index b9575fc890e24319996b91e116fbbf0c32b2bf95..bb7302cf8e9d685a836b8e6275bed365a9279c5c 100644 (file)
@@ -362,8 +362,8 @@ wxBitmap wxBitmap::GetSubBitmap(wxRect const&) const
 
 wxImage wxBitmap::ConvertToImage() const
 {
-    if(!M_BITMAPDATA->m_ok)
-        return wxImage(5,5)/*wxNullImage*/;
+    if(!Ok())
+        return /*wxImage(5,5)*/wxNullImage;
     return wxImage(M_BITMAPDATA->m_width,M_BITMAPDATA->m_height);
 }