X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584ad2a32fec156c6049145d7ece9a33213aea28..4bf45c9ecafa14b167ef0c911a83cd5cc8fba4d2:/include/wx/msw/radiobox.h diff --git a/include/wx/msw/radiobox.h b/include/wx/msw/radiobox.h index 9b3a90c121..49c1cf0771 100644 --- a/include/wx/msw/radiobox.h +++ b/include/wx/msw/radiobox.h @@ -112,7 +112,7 @@ public: virtual bool SetFont(const wxFont& font); - long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); @@ -124,7 +124,13 @@ public: int GetNumVer() const; int GetNumHor() const; + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + protected: + // we can't compute our best size before the items are added to the control + virtual void SetInitialBestSize(const wxSize& WXUNUSED(size)) { } + // subclass one radio button void SubclassRadioButton(WXHWND hWndBtn);