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(); } }