resetting when necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -131,6 +131,9 @@ void wxCaret::DoHide()
|
|||||||
|
|
||||||
void wxCaret::DoMove()
|
void wxCaret::DoMove()
|
||||||
{
|
{
|
||||||
|
#if wxUSE_OVERLAY
|
||||||
|
m_overlay.Reset();
|
||||||
|
#endif
|
||||||
if ( IsVisible() )
|
if ( IsVisible() )
|
||||||
{
|
{
|
||||||
if ( !m_blinkedOut )
|
if ( !m_blinkedOut )
|
||||||
@@ -155,7 +158,9 @@ void wxCaret::DoSize()
|
|||||||
m_countVisible = 0;
|
m_countVisible = 0;
|
||||||
DoHide();
|
DoHide();
|
||||||
}
|
}
|
||||||
#if wxUSE_OVERLAY == 0
|
#if wxUSE_OVERLAY
|
||||||
|
m_overlay.Reset();
|
||||||
|
#else
|
||||||
// Change bitmap size
|
// Change bitmap size
|
||||||
m_bmpUnderCaret = wxBitmap(m_width, m_height);
|
m_bmpUnderCaret = wxBitmap(m_width, m_height);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user