]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/statbmpg.h
Add forward declarations to fix wx/propgrid/editors.h compilation.
[wxWidgets.git] / include / wx / generic / statbmpg.h
index 4a2ece335c12532ca974c1d868532f482f601b1d..6948c9d521061f7e06b6ab13a6415d68afb16394 100644 (file)
@@ -61,7 +61,7 @@ public:
 private:
     wxSize GetBitmapSize()
     {
-        return m_bitmap.Ok() ? wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight())
+        return m_bitmap.IsOk() ? wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight())
                              : wxSize(16, 16); // this is completely arbitrary
     }