X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/808e3bce622d9ec7ae8c43581472ae699ed47221..7bd30a12ade503fd135c686ecc98a6f6d5fecbeb:/include/wx/palmos/radiobut.h?ds=inline diff --git a/include/wx/palmos/radiobut.h b/include/wx/palmos/radiobut.h index 90ffc63c18..7c6f4f201c 100644 --- a/include/wx/palmos/radiobut.h +++ b/include/wx/palmos/radiobut.h @@ -12,11 +12,7 @@ #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 +class WXDLLIMPEXP_CORE wxRadioButton: public wxControl { public: // ctors and creation functions @@ -51,9 +47,10 @@ public: // implementation only from now on virtual void Command(wxCommandEvent& event); - virtual void ApplyParentThemeBackground(const wxColour& bg) - { SetBackgroundColour(bg); } + void SetGroup(uint8_t group); + // send a notification event, return true if processed + bool SendClickEvent(); protected: virtual wxSize DoGetBestSize() const; @@ -62,6 +59,10 @@ private: // common part of all ctors void Init(); + uint8_t m_groupID; + + // pushButtonCtl or checkboxCtl + int m_radioStyle; DECLARE_DYNAMIC_CLASS_NO_COPY(wxRadioButton) };