X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1395ff56f4a8dd0fa400abc0faecc281c304caf7..4f55a07f9f4c6ba6905aaa8e584e6fb14771d278:/include/wx/mac/radiobox.h diff --git a/include/wx/mac/radiobox.h b/include/wx/mac/radiobox.h index 23536ff245..f46628180e 100644 --- a/include/wx/mac/radiobox.h +++ b/include/wx/mac/radiobox.h @@ -21,11 +21,11 @@ WXDLLEXPORT_DATA(extern const char*) wxRadioBoxNameStr; // List box item -class WXDLLEXPORT wxBitmap ; +class wxBitmap ; -class WXDLLEXPORT wxRadioButton ; +class wxRadioButton ; -class WXDLLEXPORT wxRadioBox: public wxControl +class wxRadioBox: public wxControl { DECLARE_DYNAMIC_CLASS(wxRadioBox) public: @@ -47,7 +47,7 @@ public: const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr); // Specific functions (in wxWindows2 reference) - void Enable(bool enable); + bool Enable(bool enable); void Enable(int item, bool enable); int FindString(const wxString& s) const; wxString GetLabel() const; @@ -71,6 +71,7 @@ public: inline int GetNumberOfRowsOrCols() const { return m_noRowsOrCols; } inline void SetNumberOfRowsOrCols(int n) { m_noRowsOrCols = n; } + void OnRadioButton( wxCommandEvent& event ) ; protected: wxRadioButton *m_radioButtonCycle; @@ -85,6 +86,7 @@ protected: int GetNumHor() const; int GetNumVer() const; + DECLARE_EVENT_TABLE() }; #endif