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:
parent
2ae7eb268c
commit
a0749355ca
@ -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)) )
|
||||
{
|
||||
|
@ -219,7 +219,7 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) )
|
||||
wxSetCursor( wxCursor(wxCURSOR_WATCH) );
|
||||
|
||||
if (wxTheApp)
|
||||
wxTheApp->SendIdleEvents();
|
||||
wxTheApp->ProcessIdle();
|
||||
}
|
||||
|
||||
bool wxIsBusy()
|
||||
|
@ -169,7 +169,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar
|
||||
{
|
||||
#if wxUSE_TIMER
|
||||
wxTimer::NotifyTimers();
|
||||
wxTheApp->SendIdleEvents();
|
||||
wxTheApp->ProcessIdle();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user