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.
#endif // wxUSE_GUI
+
+#if wxUSE_BASE
+
// ----------------------------------------------------------------------------
// wxEventHashTable
// ----------------------------------------------------------------------------
// wxEvtHandler
// ----------------------------------------------------------------------------
-#if wxUSE_BASE
-
/*
* Event handler
*/