Replace SendIdleEvents with ProcessIdle.

Remove unused variable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-07-18 19:38:49 +00:00
parent 2ae7eb268c
commit a0749355ca
3 changed files with 2 additions and 3 deletions

View File

@ -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)) )
{

View File

@ -219,7 +219,7 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) )
wxSetCursor( wxCursor(wxCURSOR_WATCH) );
if (wxTheApp)
wxTheApp->SendIdleEvents();
wxTheApp->ProcessIdle();
}
bool wxIsBusy()

View File

@ -169,7 +169,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar
{
#if wxUSE_TIMER
wxTimer::NotifyTimers();
wxTheApp->SendIdleEvents();
wxTheApp->ProcessIdle();
#endif
}
}