Added cast to wxWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3c9676eabf
commit
e6d822952f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user