X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..0ff8e4b5c9a0e32768f645b2546cec9ec018cfa7:/include/wx/mac/control.h diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index fb05068161..b7e84398be 100644 --- a/include/wx/mac/control.h +++ b/include/wx/mac/control.h @@ -55,7 +55,7 @@ public: void OnEraseBackground(wxEraseEvent& event); - virtual bool Enable(bool enabled) ; + virtual bool Enable(bool enable = TRUE) ; virtual bool Show(bool show = TRUE) ; virtual void MacRedrawControl () ; @@ -75,7 +75,7 @@ public: virtual void MacSuperShown( bool show ) ; virtual bool MacCanFocus() const ; - virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags ) ; + virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ; virtual void OnKeyDown( wxKeyEvent &event ) ; virtual void OnMouseEvent( wxMouseEvent &event ) ; virtual void OnPaint(wxPaintEvent& event) ; @@ -103,6 +103,7 @@ protected: protected: // For controls like radiobuttons which are really composite ControlHandle m_macControl ; + bool m_macControlIsShown ; wxList m_subControls; int m_macHorizontalBorder ; int m_macVerticalBorder ;