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:
@@ -456,6 +456,11 @@ void wxRichTextCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
|
|||||||
if (GetCaret())
|
if (GetCaret())
|
||||||
GetCaret()->Show();
|
GetCaret()->Show();
|
||||||
PositionCaret();
|
PositionCaret();
|
||||||
|
#else
|
||||||
|
#if !defined(__WXMAC__)
|
||||||
|
// Causes caret dropouts on Mac
|
||||||
|
PositionCaret();
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user