X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b737ad10dec946cd7d5e38c43c666e8efe89f0ae..b0d8bfa6cd4042d3ea8680ad0145f79e3cb15268:/src/mac/classic/cursor.cpp diff --git a/src/mac/classic/cursor.cpp b/src/mac/classic/cursor.cpp index 475c473b91..3f7e44d3b7 100644 --- a/src/mac/classic/cursor.cpp +++ b/src/mac/classic/cursor.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "cursor.h" -#endif - #include "wx/defs.h" #include "wx/app.h" @@ -23,9 +19,7 @@ #include "wx/mac/private.h" -#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxCursor, wxBitmap) -#endif const short kwxCursorBullseye = 10 ; const short kwxCursorBlank = 11 ; @@ -100,10 +94,10 @@ wxCursor::wxCursor(char **bits) bool wxCursor::CreateFromXpm(const char **bits) { - wxCHECK_MSG( bits != NULL, FALSE, wxT("invalid cursor data") ) + wxCHECK_MSG( bits != NULL, FALSE, wxT("invalid cursor data") ); wxXPMDecoder decoder; wxImage img = decoder.ReadData(bits); - wxCHECK_MSG( img.Ok(), FALSE, wxT("invalid cursor data") ) + wxCHECK_MSG( img.Ok(), FALSE, wxT("invalid cursor data") ); CreateFromImage( img ) ; return TRUE; }