#ifndef _WX_CONTROL_H_
#define _WX_CONTROL_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "control.h"
#endif
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 ) ;
- virtual void OnKeyDown( wxKeyEvent &event ) ;
- virtual void OnMouseEvent( wxMouseEvent &event ) ;
- virtual void OnPaint(wxPaintEvent& event) ;
+ void OnKeyDown( wxKeyEvent &event ) ;
+ void OnMouseEvent( wxMouseEvent &event ) ;
+ void OnPaint(wxPaintEvent& event) ;
virtual void Refresh(bool eraseBack = TRUE, const wxRect *rect = NULL) ;
WXWidget GetMacControl() { return m_macControl ;}
protected:
// For controls like radiobuttons which are really composite
WXWidget m_macControl ;
+ void* m_macControlAction ;
bool m_macControlIsShown ;
wxList m_subControls;
int m_macHorizontalBorder ;