accept focus in radiobox again (broken by making it derive from static box which doesn't accept it)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-12-17 01:41:47 +00:00
parent aca49b7913
commit 47e388caa6

View File

@ -104,6 +104,9 @@ public:
virtual bool SetFont(const wxFont& font);
virtual bool ContainsHWND(WXHWND hWnd) const;
// we inherit a version returning false from wxStaticBox, override it again
virtual bool AcceptsFocus() const { return true; }
void SetLabelFont(const wxFont& WXUNUSED(font)) {}
void SetButtonFont(const wxFont& font) { SetFont(font); }