Caret dropout fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2011-06-15 07:54:41 +00:00
parent 888cd68347
commit 5219cf0588

View File

@ -456,6 +456,11 @@ void wxRichTextCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
if (GetCaret())
GetCaret()->Show();
PositionCaret();
#else
#if !defined(__WXMAC__)
// Causes caret dropouts on Mac
PositionCaret();
#endif
#endif
}