Added wxSHOW_EFFECT_NONE.
Calling Show/HideWithEffect() with this effect is the same as calling just the normal Show/Hide(). This is convenient as it allows to use the same API, whether with effects or without them. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -724,6 +724,9 @@ wxWindowMSW::MSWShowWithEffect(bool show,
|
||||
wxShowEffect effect,
|
||||
unsigned timeout)
|
||||
{
|
||||
if ( effect == wxSHOW_EFFECT_NONE )
|
||||
return Show(show);
|
||||
|
||||
if ( !wxWindowBase::Show(show) )
|
||||
return false;
|
||||
|
||||
|
Reference in New Issue
Block a user