X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff6893d2c2c05cf0c4e81f00cfdd6466b15b9c93..d9bd1a73ff69143ddc205d71e1953e8f26fd573d:/include/wx/osx/window.h diff --git a/include/wx/osx/window.h b/include/wx/osx/window.h index c7398555c9..bdf48d8f74 100644 --- a/include/wx/osx/window.h +++ b/include/wx/osx/window.h @@ -63,6 +63,16 @@ public: virtual void Lower(); virtual bool Show( bool show = true ); + virtual bool ShowWithEffect(wxShowEffect effect, + unsigned timeout = 0) + { + return OSXShowWithEffect(true, effect, timeout); + } + virtual bool HideWithEffect(wxShowEffect effect, + unsigned timeout = 0) + { + return OSXShowWithEffect(false, effect, timeout); + } virtual bool IsShownOnScreen() const; @@ -341,6 +351,11 @@ protected: virtual void DoSetToolTip( wxToolTip *tip ); #endif + // common part of Show/HideWithEffect() + virtual bool OSXShowWithEffect(bool show, + wxShowEffect effect, + unsigned timeout); + private: // common part of all ctors void Init(); @@ -349,7 +364,6 @@ private: // AlwaysShowScrollbars() void DoUpdateScrollbarVisibility(); - wxDECLARE_NO_COPY_CLASS(wxWindowMac); DECLARE_EVENT_TABLE() };