]> git.saurik.com Git - wxWidgets.git/commitdiff
override AcceptsFocus() inherited from wxStaticBox to accept focus
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 17 Dec 2004 01:43:19 +0000 (01:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 17 Dec 2004 01:43:19 +0000 (01:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/univ/radiobox.h

index cb915c9a65ee704fca82afab824dc35803387121..f59e03d45c80b291cf084be2c180229752c2ef04 100644 (file)
@@ -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