X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/10a3fc075c70eaefa6e02edc4eaa8e3476e8bef9..f114b8580b980c54e7b6194fe6494a86cb833907:/include/wx/mac/control.h diff --git a/include/wx/mac/control.h b/include/wx/mac/control.h index 4cf51df8f6..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 @@ -75,6 +75,7 @@ public: 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 ) ; @@ -104,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 ;