]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/classic/pngread.h
add IsOk() to all classes having Ok() method (patch 1570985)
[wxWidgets.git] / include / wx / mac / classic / pngread.h
index 3376a5fa81961275eb63730af672c3ce3ed00e6b..222a2c558921b571fa73582fb12a4334dfd993a5 100644 (file)
@@ -88,7 +88,8 @@ public:
   virtual bool InstantiateBitmap(wxBitmap *bitmap);
   wxMask *CreateMask(void);
 
-  inline bool Ok(void) { return imageOK; }
+  inline bool Ok() const { return IsOk(); }
+  inline bool IsOk(void) { return imageOK; }
 };
 
 class wxPNGReaderIter