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
This commit is contained in:
@@ -122,7 +122,7 @@ void wxStaticBox::AddChild( wxWindowBase *child )
|
|||||||
gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow );
|
gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow );
|
||||||
}
|
}
|
||||||
|
|
||||||
wxWindow::AddChild( child );
|
wxStaticBoxBase::AddChild(child);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxStaticBox::SetLabel( const wxString& label )
|
void wxStaticBox::SetLabel( const wxString& label )
|
||||||
@@ -154,7 +154,6 @@ wxStaticBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
|||||||
return GetDefaultAttributesFromGTKWidget(gtk_frame_new(""));
|
return GetDefaultAttributesFromGTKWidget(gtk_frame_new(""));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const
|
void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const
|
||||||
{
|
{
|
||||||
*borderTop = GetCharHeight();
|
*borderTop = GetCharHeight();
|
||||||
|
Reference in New Issue
Block a user