]> git.saurik.com Git - wxWidgets.git/commitdiff
Added cast to wxWindow*
authorJulian Smart <julian@anthemion.co.uk>
Wed, 9 Jul 2003 12:41:58 +0000 (12:41 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 9 Jul 2003 12:41:58 +0000 (12:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/window.cpp

index 4ae7c1468bfa0f9db327c5fa42dc47140586107c..1edf8c66047b7ba9de9f9224e90abdf7efbc7d9e 100644 (file)
@@ -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