]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/cursor.cpp
Added declaration for GetViewRect to fix compilo.
[wxWidgets.git] / src / gtk1 / cursor.cpp
index a7ce14cfb54e592059fda6ba2f329a11960346fb..f23daacbb9fadcdd04ec59c58b983d29506a86be 100644 (file)
@@ -7,11 +7,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "cursor.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/cursor.h"
 #include "wx/utils.h"
 #include "wx/app.h"
@@ -354,7 +356,7 @@ void wxEndBusyCursor()
     gs_savedCursor = wxNullCursor;
 
     if (wxTheApp)
-        wxTheApp->SendIdleEvents();
+        wxTheApp->ProcessIdle();
 }
 
 void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) )