- inline wxFunction GetCallback(void) { return m_callback; }
- inline wxList& GetSubcontrols(void) { return m_subControls; }
+ wxList& GetSubcontrols() { return m_subControls; }
+
+ void OnEraseBackground(wxEraseEvent& event);
+
+#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; }
+