Implement wxWindow::ShowWithEffect() for wxOSX/Cocoa.
This version animates the window asynchronously and is being checked in just to preserve it in svn if we later decide to return to this semantics. It will be replaced by synchronous animation in the next commit. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1063,6 +1063,17 @@ bool wxWindowMac::Show(bool show)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool wxWindowMac::OSXShowWithEffect(bool show,
|
||||
wxShowEffect effect,
|
||||
unsigned timeout)
|
||||
{
|
||||
if ( effect == wxSHOW_EFFECT_NONE ||
|
||||
!m_peer || !m_peer->ShowWithEffect(show, effect, timeout) )
|
||||
return Show(show);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxWindowMac::DoEnable(bool enable)
|
||||
{
|
||||
m_peer->Enable( enable ) ;
|
||||
|
Reference in New Issue
Block a user