wxTopLevelWindows.Append(this);
m_title = title;
-
- // FIXME_MGL -- should activate itself when shown!
return TRUE;
}
return TRUE;
}
+bool wxTopLevelWindowMGL::Show(bool show)
+{
+ bool ret = wxTopLevelWindowBase::Show(show);
+ if ( ret && show && AcceptsFocus() )
+ SetFocus();
+ // FIXME_MGL -- don't do this for popup windows?
+ return ret;
+}
+
void wxTopLevelWindowMGL::Maximize(bool maximize)
{
if ( maximize && !m_isMaximized )