]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/nonownedwnd.h
Clear columns on destruction
[wxWidgets.git] / include / wx / mac / carbon / nonownedwnd.h
index c16fd9867e7aed704445955e7b9969c2306c4823..025e3dab7a3e13dae77fed6ba8d1145ca14c0329 100644 (file)
@@ -84,13 +84,13 @@ public:
     virtual bool Show( bool show = true );
 
     virtual bool ShowWithEffect(wxShowEffect effect,
-                                unsigned timeout = 0,
-                                wxDirection dir = wxBOTTOM);
-   
+                                unsigned timeout = 0)
+        { return MacShowWithEffect(true, effect, timeout); }
+
     virtual bool HideWithEffect(wxShowEffect effect,
-                                unsigned timeout = 0,
-                                wxDirection dir = wxBOTTOM);
-     
+                                unsigned timeout = 0)
+        { return MacShowWithEffect(false, effect, timeout); }
+
     virtual void SetExtraStyle(long exStyle) ;
 
     virtual bool SetBackgroundColour( const wxColour &colour );
@@ -111,6 +111,8 @@ protected:
     // common part of all ctors
     void Init();
 
+    bool MacShowWithEffect(bool show, wxShowEffect effect, unsigned timeout);
+
     virtual void DoGetPosition( int *x, int *y ) const;
     virtual void DoGetSize( int *width, int *height ) const;
     virtual void DoMoveWindow(int x, int y, int width, int height);