X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d794dcb6d9ad060f9e541b4919750e2febadebfd..222702b112dcc7bebe018d6f4d66fe469fefd02c:/src/x11/cursor.cpp diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 2a481abee6..fe53a0a5e9 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "cursor.h" #endif @@ -125,7 +125,7 @@ wxCursor::wxCursor(const char bits[], int width, int height, int hotSpotX, int hotSpotY, const char maskBits[], wxColour *fg, wxColour *bg) { - wxFAIL_MSG( "wxCursor creation from bits not yet implemented" ); + wxFAIL_MSG( wxT("wxCursor creation from bits not yet implemented") ); } @@ -137,7 +137,7 @@ wxCursor::wxCursor( const wxCursor &cursor ) #if wxUSE_IMAGE wxCursor::wxCursor( const wxImage & image ) { - wxFAIL_MSG( "wxCursor creation from wxImage not yet implemented" ); + wxFAIL_MSG( wxT("wxCursor creation from wxImage not yet implemented") ); } #endif @@ -219,7 +219,7 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) ) wxSetCursor( wxCursor(wxCURSOR_WATCH) ); if (wxTheApp) - wxTheApp->SendIdleEvents(); + wxTheApp->ProcessIdle(); } bool wxIsBusy()