]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
Avoid outputting the assert message twice in non-GUI code.
[wxWidgets.git] / src / gtk / control.cpp
index 4b163a3d9cb19a3b807b870a565c8ad4debc01ec..b79878875b33ec6d2fad082dff46b70df6655df0 100644 (file)
@@ -89,7 +89,7 @@ void wxControl::PostCreation(const wxSize& size)
     //     GetBestSize is called.
     gtk_widget_ensure_style(m_widget);
 
-    ApplyWidgetStyle();
+    GTKApplyWidgetStyle();
     SetInitialSize(size);
 }
 
@@ -320,7 +320,7 @@ wxControl::GetDefaultAttributesFromGTKWidget(wxGtkWidgetNewFromAdj_t widget_new,
 
 void wxControl::OnInternalIdle()
 {
-    if ( GtkShowFromOnIdle() )
+    if ( GTKShowFromOnIdle() )
         return;
 
     if ( GTK_WIDGET_REALIZED(m_widget) )