X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..02095058efd91c2f727344652d3eabb3fb0a709b:/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