using native fullscreen support and ShowEvent triggers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1061,10 +1061,16 @@ bool wxWindowMac::Show(bool show)
|
||||
if ( m_peer )
|
||||
m_peer->SetVisibility( show ) ;
|
||||
|
||||
wxShowEvent eventShow(GetId(), show);
|
||||
eventShow.SetEventObject(this);
|
||||
#ifdef __WXOSX_IPHONE__
|
||||
// only when there's no native event support
|
||||
if ( !IsTopLevel() )
|
||||
#endif
|
||||
{
|
||||
wxShowEvent eventShow(GetId(), show);
|
||||
eventShow.SetEventObject(this);
|
||||
|
||||
HandleWindowEvent(eventShow);
|
||||
HandleWindowEvent(eventShow);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user