From: Mattia Barbon Date: Fri, 18 Jul 2003 19:38:49 +0000 (+0000) Subject: Replace SendIdleEvents with ProcessIdle. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a0749355ca011157dd7bd448c0c33eb5f2ff7331 Replace SendIdleEvents with ProcessIdle. Remove unused variable. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/x11/colour.cpp b/src/x11/colour.cpp index 24b56a9ebf..28bb7c7dda 100644 --- a/src/x11/colour.cpp +++ b/src/x11/colour.cpp @@ -157,7 +157,6 @@ wxColour::wxColour( unsigned char red, unsigned char green, unsigned char blue ) void wxColour::InitFromName( const wxString &colourName ) { - wxNode *node = (wxNode *) NULL; wxColour* col; if ( (wxTheColourDatabase) && (col = wxTheColourDatabase->FindColourNoAdd(colourName)) ) { diff --git a/src/x11/cursor.cpp b/src/x11/cursor.cpp index 2a481abee6..7722a56fb9 100644 --- a/src/x11/cursor.cpp +++ b/src/x11/cursor.cpp @@ -219,7 +219,7 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) ) wxSetCursor( wxCursor(wxCURSOR_WATCH) ); if (wxTheApp) - wxTheApp->SendIdleEvents(); + wxTheApp->ProcessIdle(); } bool wxIsBusy() diff --git a/src/x11/reparent.cpp b/src/x11/reparent.cpp index 5ea7b27c15..e8ce0ba30f 100644 --- a/src/x11/reparent.cpp +++ b/src/x11/reparent.cpp @@ -169,7 +169,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar { #if wxUSE_TIMER wxTimer::NotifyTimers(); - wxTheApp->SendIdleEvents(); + wxTheApp->ProcessIdle(); #endif } }