]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
Remove wxRTTI macro for wxComboBox from Motif port.
[wxWidgets.git] / src / gtk / window.cpp
index 81d79956296b5d10f07addddecb93b5054c694cb..3805f1ba5aba5b2b16e3a1b4eb647a03cdc473c7 100644 (file)
@@ -2020,8 +2020,6 @@ void wxWindowGTK::GTKHandleRealized()
     }
 #endif
 
-    GTKApplyWidgetStyle();
-
     wxWindowCreateEvent event(static_cast<wxWindow*>(this));
     event.SetEventObject( this );
     GTKProcessEvent( event );
@@ -2582,6 +2580,9 @@ void wxWindowGTK::PostCreation()
     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);