X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a152561c76dbed50d23f28d6e5761b4ece968156..ce4b7808ca940be201422a066de141ca12f13863:/include/wx/palmos/radiobut.h?ds=inline diff --git a/include/wx/palmos/radiobut.h b/include/wx/palmos/radiobut.h index 120e940d93..25c36d35e8 100644 --- a/include/wx/palmos/radiobut.h +++ b/include/wx/palmos/radiobut.h @@ -12,10 +12,6 @@ #ifndef _WX_RADIOBUT_H_ #define _WX_RADIOBUT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "radiobut.h" -#endif - class WXDLLEXPORT wxRadioButton: public wxControl { public: @@ -51,14 +47,11 @@ public: // implementation only from now on virtual void Command(wxCommandEvent& event); + void SetGroup(uint8_t group); // send a notification event, return true if processed bool SendClickEvent(); - virtual void ApplyParentThemeBackground(const wxColour& bg) - { SetBackgroundColour(bg); } - - protected: virtual wxSize DoGetBestSize() const; @@ -66,8 +59,10 @@ private: // common part of all ctors void Init(); + uint8_t m_groupID; + // pushButtonCtl or checkboxCtl - ControlStyleType m_radioStyle; + int m_radioStyle; DECLARE_DYNAMIC_CLASS_NO_COPY(wxRadioButton) };