]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/cursor.h
added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
[wxWidgets.git] / include / wx / gtk1 / cursor.h
index 6027e12790131c4919b6d8b37e2123706e835c5a..655103113a1a7e350b93cc6d3466cc621d9a06c1 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKCURSORH__
 #define __GTKCURSORH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
 #include "wx/object.h"
 #include "wx/gdicmn.h"
 
+#if wxUSE_IMAGE
+#include "wx/image.h"
+#endif
+
 //-----------------------------------------------------------------------------
 // wxCursor
 //-----------------------------------------------------------------------------
@@ -30,6 +34,9 @@ public:
     wxCursor();
     wxCursor( int cursorId );
     wxCursor( const wxCursor &cursor );
+#if wxUSE_IMAGE
+    wxCursor( const wxImage & image );
+#endif
     wxCursor( const char bits[], int width, int  height,
               int hotSpotX=-1, int hotSpotY=-1,
               const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0 );