From ce2a0101bf041ca765f73fd5f50cbeffb3b1a510 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 14 Sep 2009 15:52:26 +0000 Subject: [PATCH] wxRTC's own caret is more reliable than the generic one, so use it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/richtext/richtextbuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/richtext/richtextbuffer.h b/include/wx/richtext/richtextbuffer.h index be46295eb1..e0f1359b18 100644 --- a/include/wx/richtext/richtextbuffer.h +++ b/include/wx/richtext/richtextbuffer.h @@ -71,9 +71,9 @@ #endif // Setting wxRICHTEXT_USE_OWN_CARET to 1 implements a -// cursor reliably without using wxClientDC in case there +// caret reliably without using wxClientDC in case there // are platform-specific problems with the generic caret. -#if defined(wxMAC_USE_CORE_GRAPHICS) && wxMAC_USE_CORE_GRAPHICS +#if defined(__WXGTK__) || (defined(wxMAC_USE_CORE_GRAPHICS) && wxMAC_USE_CORE_GRAPHICS) #define wxRICHTEXT_USE_OWN_CARET 1 #else #define wxRICHTEXT_USE_OWN_CARET 0