X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..d6906a06a24cf6dd081f1bc955c3255765a0b845:/include/wx/mac/carbon/pngread.h diff --git a/include/wx/mac/carbon/pngread.h b/include/wx/mac/carbon/pngread.h index d1a8b96a5a..222a2c5589 100644 --- a/include/wx/mac/carbon/pngread.h +++ b/include/wx/mac/carbon/pngread.h @@ -11,10 +11,6 @@ #ifndef _WX_PNGREAD__ #define _WX_PNGREAD__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "pngread.h" -#endif - #ifndef byte typedef unsigned char byte; #endif @@ -92,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