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
This commit is contained in:
@@ -104,6 +104,9 @@ public:
|
|||||||
virtual wxString GetLabel() const;
|
virtual wxString GetLabel() const;
|
||||||
virtual void SetLabel(const wxString& label);
|
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
|
#if wxUSE_TOOLTIPS
|
||||||
virtual void DoSetToolTip( wxToolTip *tip );
|
virtual void DoSetToolTip( wxToolTip *tip );
|
||||||
#endif // wxUSE_TOOLTIPS
|
#endif // wxUSE_TOOLTIPS
|
||||||
|
Reference in New Issue
Block a user