]> git.saurik.com Git - wxWidgets.git/commitdiff
wxRTC's own caret is more reliable than the generic one, so use it.
authorJulian Smart <julian@anthemion.co.uk>
Mon, 14 Sep 2009 15:52:48 +0000 (15:52 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 14 Sep 2009 15:52:48 +0000 (15:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextbuffer.h

index d7ab14943f62ba44ba101441a9463deaf145e482..c1ba9cb4548c4e9623ede7e678becad00f806321 100644 (file)
@@ -75,9 +75,9 @@
 #define wxTextAttrEx wxTextAttr
 
 // 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.
-#ifdef __WXMAC__
+#if defined(__WXGTK__) || defined(__WXMAC__)
 #define wxRICHTEXT_USE_OWN_CARET 1
 #else
 #define wxRICHTEXT_USE_OWN_CARET 0