]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbmp.cpp
fixing osx_carbon
[wxWidgets.git] / src / os2 / statbmp.cpp
index c80642962f03768a417df57773aef40af78610f5..9a7f0985a39cc2601005a0ae7aa8877d58c3c153 100644 (file)
@@ -28,8 +28,6 @@
 // macros
 // ---------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
 BEGIN_EVENT_TABLE(wxStaticBitmap, wxWindow)
     EVT_PAINT(wxStaticBitmap::OnPaint)
 END_EVENT_TABLE()
@@ -136,7 +134,7 @@ bool wxStaticBitmap::Create( wxWindow*         pParent,
 
 bool wxStaticBitmap::ImageIsOk() const
 {
-    return(m_pImage && m_pImage->Ok());
+    return(m_pImage && m_pImage->IsOk());
 }
 
 void wxStaticBitmap::Free()