Make sure we setup the base's Show state correctly and send a show event.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-11-29 21:46:15 +00:00
parent 86a6c828f8
commit b487746ac4

View File

@@ -159,7 +159,12 @@ wxString wxTopLevelWindowMac::GetTitle() const
void wxTopLevelWindowMac::ShowWithoutActivating()
{
return m_nowpeer->ShowWithoutActivating();
if ( !wxTopLevelWindowBase::Show(true) )
return;
m_nowpeer->ShowWithoutActivating();
// TODO: Should we call EVT_SIZE here?
}
bool wxTopLevelWindowMac::ShowFullScreen(bool show, long style)