From ca5b5b49c81e2ffab063f2be6ada2ed4290d1db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 27 Jan 2002 23:37:58 +0000 Subject: [PATCH] small m_blinkedOut consistency corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/caret.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generic/caret.cpp b/src/generic/caret.cpp index 9d7864223b..d199e5290f 100644 --- a/src/generic/caret.cpp +++ b/src/generic/caret.cpp @@ -91,7 +91,7 @@ void wxCaretBase::SetBlinkTime(int milliseconds) void wxCaret::InitGeneric() { m_hasFocus = TRUE; - m_blinkedOut = FALSE; + m_blinkedOut = TRUE; m_xOld = m_yOld = -1; @@ -118,8 +118,8 @@ void wxCaret::DoShow() if ( blinkTime ) m_timer.Start(blinkTime); - m_blinkedOut = TRUE; - Blink(); + if ( m_blinkedOut ) + Blink(); } void wxCaret::DoHide()