]> git.saurik.com Git - wxWidgets.git/commitdiff
Replace SendIdleEvents with ProcessIdle.
authorMattia Barbon <mbarbon@cpan.org>
Fri, 18 Jul 2003 19:38:49 +0000 (19:38 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Fri, 18 Jul 2003 19:38:49 +0000 (19:38 +0000)
  Remove unused variable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/colour.cpp
src/x11/cursor.cpp
src/x11/reparent.cpp

index 24b56a9ebfceb49199a8d6510fc1f9256f4cd131..28bb7c7ddab94244c2cc53718eeeeee673b11c2c 100644 (file)
@@ -157,7 +157,6 @@ wxColour::wxColour( unsigned char red, unsigned char green, unsigned char blue )
 
 void wxColour::InitFromName( const wxString &colourName )
 {
 
 void wxColour::InitFromName( const wxString &colourName )
 {
-    wxNode *node = (wxNode *) NULL;
     wxColour* col;
     if ( (wxTheColourDatabase) && (col = wxTheColourDatabase->FindColourNoAdd(colourName)) )
     {
     wxColour* col;
     if ( (wxTheColourDatabase) && (col = wxTheColourDatabase->FindColourNoAdd(colourName)) )
     {
index 2a481abee60ce45dee29ca1413faed0fe205177d..7722a56fb9bac2a34cf7eb45f8545c200fee48b3 100644 (file)
@@ -219,7 +219,7 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) )
     wxSetCursor( wxCursor(wxCURSOR_WATCH) );
 
     if (wxTheApp)
     wxSetCursor( wxCursor(wxCURSOR_WATCH) );
 
     if (wxTheApp)
-        wxTheApp->SendIdleEvents();
+        wxTheApp->ProcessIdle();
 }
 
 bool wxIsBusy()
 }
 
 bool wxIsBusy()
index 5ea7b27c156b0bd48e9dd9fc80f1df1b60d83c62..e8ce0ba30fe2f781cd178ac022d84f308b0e89a3 100644 (file)
@@ -169,7 +169,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar
         {
 #if wxUSE_TIMER
             wxTimer::NotifyTimers();
         {
 #if wxUSE_TIMER
             wxTimer::NotifyTimers();
-            wxTheApp->SendIdleEvents();
+            wxTheApp->ProcessIdle();
 #endif
         }
     }
 #endif
         }
     }