]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pngread.h
fix gcc warning about possibly uninitialized variables
[wxWidgets.git] / include / wx / mac / carbon / 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