X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..c24fd8883fd563b85477fd71b70a52f34eebdd3e:/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