]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
VC6 compilation fix for native wxProgressDialog implementation.
[wxWidgets.git] / src / gtk / control.cpp
index 4b163a3d9cb19a3b807b870a565c8ad4debc01ec..0191a2f91963ab654f5c73eab6b611b06677ccbb 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,14 +320,9 @@ wxControl::GetDefaultAttributesFromGTKWidget(wxGtkWidgetNewFromAdj_t widget_new,
 
 void wxControl::OnInternalIdle()
 {
-    if ( GtkShowFromOnIdle() )
+    if ( GTKShowFromOnIdle() )
         return;
 
-    if ( GTK_WIDGET_REALIZED(m_widget) )
-    {
-        GTKUpdateCursor();
-    }
-
     if ( wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen() )
         UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }