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:
@@ -104,6 +104,9 @@ public:
|
|||||||
virtual bool SetFont(const wxFont& font);
|
virtual bool SetFont(const wxFont& font);
|
||||||
virtual bool ContainsHWND(WXHWND hWnd) const;
|
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 SetLabelFont(const wxFont& WXUNUSED(font)) {}
|
||||||
void SetButtonFont(const wxFont& font) { SetFont(font); }
|
void SetButtonFont(const wxFont& font) { SetFont(font); }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user