X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71ead4bf23e61cec55e4f428fac561fc12b987b9..9b307a69b39d69605f609ebc7ef22798d045656b:/src/gtk/control.cpp diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index f69a1dddf3..0191a2f919 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -89,7 +89,7 @@ void wxControl::PostCreation(const wxSize& size) // GetBestSize is called. gtk_widget_ensure_style(m_widget); - ApplyWidgetStyle(); + GTKApplyWidgetStyle(); SetInitialSize(size); } @@ -323,11 +323,6 @@ void wxControl::OnInternalIdle() if ( GTKShowFromOnIdle() ) return; - if ( GTK_WIDGET_REALIZED(m_widget) ) - { - GTKUpdateCursor(); - } - if ( wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen() ) UpdateWindowUI(wxUPDATE_UI_FROMIDLE); }