From 1f5cf9cc23f7763e9ee7984b171bb4b6a3ce3ffb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 25 Aug 2006 22:50:30 +0000 Subject: [PATCH] don't set cursor for not realized (and not only hidden) windows git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp index 22f7bfcd03..9641245f39 100644 --- a/src/gtk/control.cpp +++ b/src/gtk/control.cpp @@ -375,7 +375,7 @@ void wxControl::OnInternalIdle() if ( GtkShowFromOnIdle() ) return; - if ( IsShown() ) + if ( GTK_WIDGET_REALIZED(m_widget) ) { GTKUpdateCursor(); -- 2.45.2