fixed rendering artifact in wxCaret

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2002-01-27 00:47:48 +00:00
parent 350d006427
commit b6e8d5a362

View File

@ -158,7 +158,8 @@ void wxCaret::OnSetFocus()
{
m_hasFocus = TRUE;
Refresh();
if ( IsVisible() )
Refresh();
}
void wxCaret::OnKillFocus()