From: Julian Smart Date: Wed, 9 Jul 2003 12:41:58 +0000 (+0000) Subject: Added cast to wxWindow* X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e6d822952f14d35e1d479715e2daaef9ec7fa53e Added cast to wxWindow* git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/x11/window.cpp b/src/x11/window.cpp index 4ae7c1468b..1edf8c6604 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -1287,7 +1287,7 @@ void wxWindowX11::OnInternalIdle() // This calls the UI-update mechanism (querying windows for // menu/toolbar/control state information) - if (wxUpdateUIEvent::CanUpdate(this)) + if (wxUpdateUIEvent::CanUpdate((wxWindow*) this)) UpdateWindowUI(wxUPDATE_UI_FROMIDLE); // Set the input focus if couldn't do it before