use wxWindowBase, not wxWindow, in wxUpdateUIEvent::CanUpdate() (wxUniv compilation fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -390,7 +390,7 @@ long wxUpdateUIEvent::sm_updateInterval = 0;
|
||||
wxUpdateUIMode wxUpdateUIEvent::sm_updateMode = wxUPDATE_UI_PROCESS_ALL;
|
||||
|
||||
// Can we update?
|
||||
bool wxUpdateUIEvent::CanUpdate(wxWindow* win)
|
||||
bool wxUpdateUIEvent::CanUpdate(wxWindowBase *win)
|
||||
{
|
||||
// Don't update if we've switched global updating off
|
||||
// and this window doesn't support updates.
|
||||
|
Reference in New Issue
Block a user