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
This commit is contained in:
Vadim Zeitlin
2006-08-25 22:50:30 +00:00
parent 2d97237dac
commit 1f5cf9cc23

View File

@@ -375,7 +375,7 @@ void wxControl::OnInternalIdle()
if ( GtkShowFromOnIdle() )
return;
if ( IsShown() )
if ( GTK_WIDGET_REALIZED(m_widget) )
{
GTKUpdateCursor();