X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8d5f1e2b48a0b941e1d8d9a435321b44bfcfc1a..05159a2750ed2cc5945a85bc5fc6849ad1a30e75:/include/wx/mac/control.h diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index ab14b598b3..c97686d258 100644 --- a/include/wx/mac/control.h +++ b/include/wx/mac/control.h @@ -12,7 +12,7 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "control.h" #endif @@ -74,6 +74,8 @@ public: virtual void MacSuperEnabled( bool enabled ) ; virtual void MacSuperShown( bool show ) ; virtual bool MacCanFocus() const ; + virtual void MacUpdateDimensions() ; + void* MacGetControlAction() { return m_macControlAction ; } virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ; void OnKeyDown( wxKeyEvent &event ) ; @@ -103,6 +105,7 @@ protected: protected: // For controls like radiobuttons which are really composite WXWidget m_macControl ; + void* m_macControlAction ; bool m_macControlIsShown ; wxList m_subControls; int m_macHorizontalBorder ;