From: Vadim Zeitlin Date: Fri, 17 Dec 2004 01:43:19 +0000 (+0000) Subject: override AcceptsFocus() inherited from wxStaticBox to accept focus X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/44029ca4ef4a9dc7ceca07afb325485e646985ed override AcceptsFocus() inherited from wxStaticBox to accept focus git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/univ/radiobox.h b/include/wx/univ/radiobox.h index cb915c9a65..f59e03d45c 100644 --- a/include/wx/univ/radiobox.h +++ b/include/wx/univ/radiobox.h @@ -104,6 +104,9 @@ public: virtual wxString GetLabel() const; virtual void SetLabel(const wxString& label); + // we inherit a version returning false from wxStaticBox, override it again + virtual bool AcceptsFocus() const { return true; } + #if wxUSE_TOOLTIPS virtual void DoSetToolTip( wxToolTip *tip ); #endif // wxUSE_TOOLTIPS