X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2646f485163f410baaad5bcf49028c604a352d19..39406a5d051fdcc372367c4dfedc6d711fdf51fd:/src/mac/classic/bitmap.cpp diff --git a/src/mac/classic/bitmap.cpp b/src/mac/classic/bitmap.cpp index 6cbaa9d9b7..e51b3ca7b6 100644 --- a/src/mac/classic/bitmap.cpp +++ b/src/mac/classic/bitmap.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "bitmap.h" -#endif - #include "wx/defs.h" #include "wx/bitmap.h" @@ -168,7 +164,7 @@ OSErr SetupCIconHandlePixMap( CIconHandle icon , short depth , Rect *bounds , C else newColors = nil; - /* If no errors occured, return a handle to the new off-screen PixMap */ + /* If no errors occurred, return a handle to the new off-screen PixMap */ if (error != noErr) { if (newColors != nil) @@ -512,10 +508,10 @@ wxBitmap::wxBitmap(const wxString& filename, wxBitmapType type) bool wxBitmap::CreateFromXpm(const char **bits) { - wxCHECK_MSG( bits != NULL, FALSE, wxT("invalid bitmap data") ) + wxCHECK_MSG( bits != NULL, FALSE, wxT("invalid bitmap data") ); wxXPMDecoder decoder; wxImage img = decoder.ReadData(bits); - wxCHECK_MSG( img.Ok(), FALSE, wxT("invalid bitmap data") ) + wxCHECK_MSG( img.Ok(), FALSE, wxT("invalid bitmap data") ); *this = wxBitmap(img); return TRUE; } @@ -722,8 +718,8 @@ bool wxBitmap::Create(void *data, wxBitmapType type, int width, int height, int wxBitmap::wxBitmap(const wxImage& image, int depth) { - wxCHECK_RET( image.Ok(), wxT("invalid image") ) - wxCHECK_RET( depth == -1, wxT("invalid bitmap depth") ) + wxCHECK_RET( image.Ok(), wxT("invalid image") ); + wxCHECK_RET( depth == -1, wxT("invalid bitmap depth") ); m_refData = new wxBitmapRefData();