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:
@@ -375,7 +375,7 @@ void wxControl::OnInternalIdle()
|
|||||||
if ( GtkShowFromOnIdle() )
|
if ( GtkShowFromOnIdle() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ( IsShown() )
|
if ( GTK_WIDGET_REALIZED(m_widget) )
|
||||||
{
|
{
|
||||||
GTKUpdateCursor();
|
GTKUpdateCursor();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user