]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbmp.cpp
adapting ownership semantics to cocoa convention
[wxWidgets.git] / src / os2 / statbmp.cpp
index 5874763573e462f5c0ea725ff326b3471856ac9e..9a7f0985a39cc2601005a0ae7aa8877d58c3c153 100644 (file)
@@ -134,7 +134,7 @@ bool wxStaticBitmap::Create( wxWindow*         pParent,
 
 bool wxStaticBitmap::ImageIsOk() const
 {
 
 bool wxStaticBitmap::ImageIsOk() const
 {
-    return(m_pImage && m_pImage->Ok());
+    return(m_pImage && m_pImage->IsOk());
 }
 
 void wxStaticBitmap::Free()
 }
 
 void wxStaticBitmap::Free()