- virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ;
- 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 ;}
-
-#if WXWIN_COMPATIBILITY
- virtual void SetButtonColour(const wxColour& WXUNUSED(col)) { }
- wxColour* GetButtonColour() const { return NULL; }
-
- inline virtual void SetLabelFont(const wxFont& font);
- inline virtual void SetButtonFont(const wxFont& font);
- inline wxFont& GetLabelFont() const;
- inline wxFont& GetButtonFont() const;
-
- // Adds callback
- inline void Callback(const wxFunction function);
-
- wxFunction GetCallback() { return m_callback; }
-
-protected:
- wxFunction m_callback; // Callback associated with the window
-#endif // WXWIN_COMPATIBILITY
+ virtual void DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ;
+ 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 ;}