X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/590e3264721f69bab96737e17688942524c06caa..50a2a3553af0449fefad444c04e91dea2589092c:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index c539b36fba..6078beb09c 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -35,10 +35,10 @@ #include "wx/layout.h" #include "wx/menuitem.h" #include "wx/module.h" - #include "wx/unix/utilsx11.h" #endif #include "wx/evtloop.h" +#include "wx/unix/utilsx11.h" #if wxUSE_DRAG_AND_DROP #include "wx/dnd.h" @@ -132,8 +132,6 @@ static int str16len(const char *s) // event tables // ---------------------------------------------------------------------------- - IMPLEMENT_DYNAMIC_CLASS(wxWindow, wxWindowBase) - BEGIN_EVENT_TABLE(wxWindow, wxWindowBase) EVT_SYS_COLOUR_CHANGED(wxWindow::OnSysColourChanged) END_EVENT_TABLE() @@ -1654,14 +1652,6 @@ void wxWindow::OnSysColourChanged(wxSysColourChangedEvent& event) } } -void wxWindow::OnInternalIdle() -{ - // This calls the UI-update mechanism (querying windows for - // menu/toolbar/control state information) - if (wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen()) - UpdateWindowUI(wxUPDATE_UI_FROMIDLE); -} - // ---------------------------------------------------------------------------- // accelerators // ----------------------------------------------------------------------------