From 87d05605b5d196f2c3f2f431b1dfbe12989bb824 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 6 Apr 2003 14:26:29 +0000 Subject: [PATCH] wxCaret::SetSize correction for showing caret Backported from head git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 1 + src/msw/caret.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 9d95368367..9d5383f7e3 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -203,6 +203,7 @@ wxMSW: - set orientation for scrollbar events - fix for explicit keyword detection (VC++) - fix for sending event from wxCheckListBox::Check() +- wxCaret::SetSize correction for showing caret wxMotif: diff --git a/src/msw/caret.cpp b/src/msw/caret.cpp index f1fd767110..ee761165a1 100644 --- a/src/msw/caret.cpp +++ b/src/msw/caret.cpp @@ -189,6 +189,6 @@ void wxCaret::DoSize() m_hasCaret = FALSE; CALL_CARET_API(DestroyCaret, ()); MSWCreateCaret(); - DoMove(); + OnSetFocus(); } }