#endif // wxUSE_STATUSBAR
}
+bool wxFrameBase::SendIconizeEvent(bool iconized)
+{
+ wxIconizeEvent event(GetId(), iconized);
+ event.SetEventObject(this);
+
+ return GetEventHandler()->ProcessEvent(event);
+}
+
// ----------------------------------------------------------------------------
// status bar stuff
// ----------------------------------------------------------------------------
{
wxMenuBar* bar = GetMenuBar();
+#ifdef __WXMSW__
wxWindow* focusWin = wxFindFocusDescendant((wxWindow*) this);
-
+#else
+ wxWindow* focusWin = (wxWindow*) NULL;
+#endif
if ( bar != NULL )
{
int nCount = bar->GetMenuCount();