X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..c670c85582ca995105f14a6c62b54c580582f624:/src/mgl/cursor.cpp diff --git a/src/mgl/cursor.cpp b/src/mgl/cursor.cpp index b2a4c69a7c..275c62c34b 100644 --- a/src/mgl/cursor.cpp +++ b/src/mgl/cursor.cpp @@ -15,10 +15,14 @@ #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;