X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..b04237742c51e022af8ca8fe8933437734f392a3:/include/wx/msw/radiobox.h diff --git a/include/wx/msw/radiobox.h b/include/wx/msw/radiobox.h index 45cb608755..ecb9e3efab 100644 --- a/include/wx/msw/radiobox.h +++ b/include/wx/msw/radiobox.h @@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxSubwindows; // wxRadioBox // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxRadioBox : public wxStaticBox, public wxRadioBoxBase +class WXDLLIMPEXP_CORE wxRadioBox : public wxStaticBox, public wxRadioBoxBase { public: wxRadioBox() { Init(); } @@ -111,10 +111,15 @@ public: } #endif // wxUSE_HELP + virtual bool Reparent(wxWindowBase *newParent); + // we inherit a version always returning false from wxStaticBox, override // it to behave normally virtual bool AcceptsFocus() const { return wxControl::AcceptsFocus(); } + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + void SetLabelFont(const wxFont& WXUNUSED(font)) {} void SetButtonFont(const wxFont& font) { SetFont(font); } @@ -156,6 +161,10 @@ protected: // the buttons we contain wxSubwindows *m_radioButtons; + // and the special dummy button used only as a tab group boundary + WXHWND m_dummyHwnd; + wxWindowIDRef m_dummyId; + // array of widths and heights of the buttons, may be wxDefaultCoord if the // corresponding quantity should be computed int *m_radioWidth; @@ -166,7 +175,7 @@ protected: private: DECLARE_DYNAMIC_CLASS(wxRadioBox) - DECLARE_NO_COPY_CLASS(wxRadioBox) + wxDECLARE_NO_COPY_CLASS(wxRadioBox); }; #endif