call GTKApplyWidgetStyle() from PostCreation() instead of GTKHandleRealized()

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
This commit is contained in:
Paul Cornett
2013-01-10 07:17:01 +00:00
parent 92ef38ee6b
commit 4116bc7edd
3 changed files with 3 additions and 5 deletions

View File

@@ -105,7 +105,6 @@ void wxControl::PostCreation(const wxSize& size)
gtk_widget_ensure_style(m_widget);
#endif
GTKApplyWidgetStyle();
SetInitialSize(size);
}