]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / msw / statbmp.cpp
index 0b2a52706eab8f6c31019e05b6a723bcc7dff80d..31c46938b82515edb8dfd91211fc101a5b77dd3b 100644 (file)
@@ -153,7 +153,7 @@ WXDWORD wxStaticBitmap::MSWGetStyle(long style, WXDWORD *exstyle) const
 
 bool wxStaticBitmap::ImageIsOk() const
 {
-    return m_image && m_image->Ok();
+    return m_image && m_image->IsOk();
 }
 
 wxIcon wxStaticBitmap::GetIcon() const