it's a better place to catch font or color changes made before creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73361
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
gtk_widget_ensure_style(m_widget);
#endif
- GTKApplyWidgetStyle();
SetInitialSize(size);
}
}
PostCreation();
-
- GTKApplyWidgetStyle();
#endif // wxUSE_LIBHILDON || wxUSE_LIBHILDON2/!wxUSE_LIBHILDON && !wxUSE_LIBHILDON2
g_object_ref_sink(m_widget);
}
#endif
- GTKApplyWidgetStyle();
-
wxWindowCreateEvent event(static_cast<wxWindow*>(this));
event.SetEventObject( this );
GTKProcessEvent( event );
if (!WX_IS_PIZZA(gtk_widget_get_parent(m_widget)) && !GTK_IS_WINDOW(m_widget))
gtk_widget_set_size_request(m_widget, m_width, m_height);
+ // apply any font or color changes made before creation
+ GTKApplyWidgetStyle();
+
InheritAttributes();
SetLayoutDirection(wxLayout_Default);