less agressive cursor hiding

svn: r424
This commit is contained in:
Matthew Flatt 2005-07-21 20:50:35 +00:00
parent 52683f888f
commit c7d784fa50

View File

@ -597,7 +597,16 @@ void wxMediaEdit::OnChar(wxKeyEvent *event)
return;
}
wxHideCursor();
{
int code;
code = event->keyCode;
if ((code != WXK_RELEASE)
&& (code != WXK_SHIFT)
&& (code != WXK_CONTROL)
&& (code != WXK_MENU)
&& (code != 0))
wxHideCursor();
}
OnLocalChar(event);
}