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:
@@ -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;
|
wxColour* col;
|
||||||
if ( (wxTheColourDatabase) && (col = wxTheColourDatabase->FindColourNoAdd(colourName)) )
|
if ( (wxTheColourDatabase) && (col = wxTheColourDatabase->FindColourNoAdd(colourName)) )
|
||||||
{
|
{
|
||||||
|
@@ -219,7 +219,7 @@ void wxBeginBusyCursor( wxCursor *WXUNUSED(cursor) )
|
|||||||
wxSetCursor( wxCursor(wxCURSOR_WATCH) );
|
wxSetCursor( wxCursor(wxCURSOR_WATCH) );
|
||||||
|
|
||||||
if (wxTheApp)
|
if (wxTheApp)
|
||||||
wxTheApp->SendIdleEvents();
|
wxTheApp->ProcessIdle();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxIsBusy()
|
bool wxIsBusy()
|
||||||
|
@@ -169,7 +169,7 @@ bool wxReparenter::WaitAndReparent(wxWindow* newParent, wxAdoptedWindow* toRepar
|
|||||||
{
|
{
|
||||||
#if wxUSE_TIMER
|
#if wxUSE_TIMER
|
||||||
wxTimer::NotifyTimers();
|
wxTimer::NotifyTimers();
|
||||||
wxTheApp->SendIdleEvents();
|
wxTheApp->ProcessIdle();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user