From 21d07626801f49135841d9952d4292edf2bdef84 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 31 Jul 2013 05:35:13 +0000 Subject: [PATCH] fix tab traversal of wxStaticBox children, closes #15376 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/statbox.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gtk/statbox.cpp b/src/gtk/statbox.cpp index b071ecd711..bd64a6076d 100644 --- a/src/gtk/statbox.cpp +++ b/src/gtk/statbox.cpp @@ -122,7 +122,7 @@ void wxStaticBox::AddChild( wxWindowBase *child ) gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow ); } - wxWindow::AddChild( child ); + wxStaticBoxBase::AddChild(child); } void wxStaticBox::SetLabel( const wxString& label ) @@ -154,7 +154,6 @@ wxStaticBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant)) return GetDefaultAttributesFromGTKWidget(gtk_frame_new("")); } - void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const { *borderTop = GetCharHeight(); -- 2.45.2