X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..d015713e787da8241e92ff86ee2e911868b8024c:/include/wx/msw/radiobox.h diff --git a/include/wx/msw/radiobox.h b/include/wx/msw/radiobox.h index 8a98bb0a88..471ca12608 100644 --- a/include/wx/msw/radiobox.h +++ b/include/wx/msw/radiobox.h @@ -100,8 +100,15 @@ public: #endif // WXWIN_COMPATIBILITY protected: + // subclass one radio button void SubclassRadioButton(WXHWND hWndBtn); + // get the max size of radio buttons + wxSize GetMaxButtonSize() const; + + // get the total size occupied by the radio box buttons + wxSize GetTotalButtonSize(const wxSize& sizeBtn) const; + WXHWND * m_radioButtons; int m_majorDim; int * m_radioWidth; // for bitmaps @@ -114,6 +121,7 @@ protected: virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual wxSize DoGetBestSize() const; }; #endif