]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/cursor.cpp
don't throw away the first three stack frames in the assert stack dump (fix needed...
[wxWidgets.git] / src / mac / classic / cursor.cpp
index 475c473b9175661536f809326442edd07de9eb13..3f7e44d3b740ebfce091810595bd52d8401f683f 100644 (file)
@@ -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;
 }