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:
parent
350d006427
commit
b6e8d5a362
@ -158,7 +158,8 @@ void wxCaret::OnSetFocus()
|
|||||||
{
|
{
|
||||||
m_hasFocus = TRUE;
|
m_hasFocus = TRUE;
|
||||||
|
|
||||||
Refresh();
|
if ( IsVisible() )
|
||||||
|
Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxCaret::OnKillFocus()
|
void wxCaret::OnKillFocus()
|
||||||
|
Loading…
Reference in New Issue
Block a user