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:
@@ -1318,10 +1318,7 @@ void wxWindowX11::OnInternalIdle()
|
||||
// Update invalidated regions.
|
||||
Update();
|
||||
|
||||
// This calls the UI-update mechanism (querying windows for
|
||||
// menu/toolbar/control state information)
|
||||
if (wxUpdateUIEvent::CanUpdate((wxWindow*) this) && IsShownOnScreen())
|
||||
UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
|
||||
wxWindowBase::OnInternalIdle();
|
||||
|
||||
// Set the input focus if couldn't do it before
|
||||
if (m_needsInputFocus)
|
||||
|
Reference in New Issue
Block a user