Apply current style to wxStaticBox container when it's created
Background may have been set before adding any children See #15466
This commit is contained in:
@@ -130,6 +130,7 @@ void wxStaticBox::AddChild( wxWindowBase *child )
|
|||||||
m_wxwindow = wxPizza::New();
|
m_wxwindow = wxPizza::New();
|
||||||
gtk_widget_show( m_wxwindow );
|
gtk_widget_show( m_wxwindow );
|
||||||
gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow );
|
gtk_container_add( GTK_CONTAINER (m_widget), m_wxwindow );
|
||||||
|
GTKApplyWidgetStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
wxStaticBoxBase::AddChild(child);
|
wxStaticBoxBase::AddChild(child);
|
||||||
|
Reference in New Issue
Block a user