]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/cursor.cpp
Warning fix.
[wxWidgets.git] / src / mgl / cursor.cpp
index b2a4c69a7c5eb120fe06db2ebaa6c2a7d07ff4b0..275c62c34b84ac6b64520facd0a20cf5785887e7 100644 (file)
 #endif
 
 #include "wx/cursor.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/intl.h"
+    #include "wx/log.h"
+    #include "wx/utils.h"
+#endif
+
 #include "wx/module.h"
-#include "wx/utils.h"
-#include "wx/log.h"
-#include "wx/intl.h"
 #include "wx/hashmap.h"
 
 #include "wx/mgl/private.h"
@@ -243,7 +247,7 @@ void wxEndBusyCursor()
     gs_savedCursor = wxNullCursor;
 }
 
-void wxBeginBusyCursor(wxCursor *cursor)
+void wxBeginBusyCursor(const wxCursor *cursor)
 {
     if ( gs_busyCount++ > 0 ) return;