void wxAppBase::SetActive(bool active, wxWindow * WXUNUSED(lastFocus))
{
+ if ( active == m_isActive )
+ return;
+
m_isActive = active;
+
+ wxActivateEvent event(wxEVT_ACTIVATE_APP, active);
+ event.SetEventObject(this);
+
+ (void)ProcessEvent(event);
}
#endif // wxUSE_GUI
OPTION_VERBOSE,
gettext_noop("generate verbose log messages")
},
-#endif wxUSE_LOG
+#endif // wxUSE_LOG
#ifdef __WXUNIVERSAL__
{