X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..eef1a0cc63093cdffdc0f718c80f413c33c0562d:/include/wx/mac/classic/pngread.h?ds=sidebyside diff --git a/include/wx/mac/classic/pngread.h b/include/wx/mac/classic/pngread.h index 3376a5fa81..222a2c5589 100644 --- a/include/wx/mac/classic/pngread.h +++ b/include/wx/mac/classic/pngread.h @@ -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