move default OnInternalIdle processing to wxWindowBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -314,17 +314,4 @@ wxControl::GetDefaultAttributesFromGTKWidget(wxGtkWidgetNewFromAdj_t widget_new,
|
||||
return attr;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// idle handling
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxControl::OnInternalIdle()
|
||||
{
|
||||
if ( GTKShowFromOnIdle() )
|
||||
return;
|
||||
|
||||
if ( wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen() )
|
||||
UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
|
||||
}
|
||||
|
||||
#endif // wxUSE_CONTROLS
|
||||
|
Reference in New Issue
Block a user