X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..6bc7b9138db63cd4ea58b00877d45acae44b6055:/include/wx/mac/carbon/pngread.h diff --git a/include/wx/mac/carbon/pngread.h b/include/wx/mac/carbon/pngread.h index 3376a5fa81..222a2c5589 100644 --- a/include/wx/mac/carbon/pngread.h +++ b/include/wx/mac/carbon/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