X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e933b5bc365e0907a4f0fd15b4c49e4c96c2b59f..a130bb4e758c8423694265ac29554a1901fa3d27:/src/motif/cursor.cpp diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index deddb7a41c..11c30421c7 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -12,13 +12,20 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifndef WX_PRECOMP + #include "wx/list.h" +#endif + #include "wx/cursor.h" -#include "wx/app.h" -#include "wx/utils.h" -#include "wx/list.h" -#include "wx/window.h" + +#ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/utils.h" + #include "wx/window.h" +#endif + #if wxUSE_IMAGE -#include "wx/image.h" + #include "wx/image.h" #endif #ifdef __VMS__ @@ -426,7 +433,7 @@ static int wxBusyCursorCount = 0; // Helper function static void -wxXSetBusyCursor (wxWindow * win, wxCursor * cursor) +wxXSetBusyCursor (wxWindow * win, const wxCursor * cursor) { Display *display = (Display*) win->GetXDisplay(); @@ -462,7 +469,7 @@ wxXSetBusyCursor (wxWindow * win, wxCursor * cursor) } // Set the cursor to the busy cursor for all windows -void wxBeginBusyCursor(wxCursor *cursor) +void wxBeginBusyCursor(const wxCursor *cursor) { wxBusyCursorCount++; if (wxBusyCursorCount == 1)