Use own cursor implementation if Mac CG=1, since otherwise there are cursor
dropouts with more than one wxRTC git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,7 +73,11 @@
|
|||||||
// Setting wxRICHTEXT_USE_OWN_CARET to 1 implements a non-flashing
|
// Setting wxRICHTEXT_USE_OWN_CARET to 1 implements a non-flashing
|
||||||
// cursor reliably without using wxClientDC in case there
|
// cursor reliably without using wxClientDC in case there
|
||||||
// are platform-specific problems with the generic caret.
|
// are platform-specific problems with the generic caret.
|
||||||
|
#if defined(wxMAC_USE_CORE_GRAPHICS) && wxMAC_USE_CORE_GRAPHICS
|
||||||
|
#define wxRICHTEXT_USE_OWN_CARET 1
|
||||||
|
#else
|
||||||
#define wxRICHTEXT_USE_OWN_CARET 0
|
#define wxRICHTEXT_USE_OWN_CARET 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// Switch off for binary compatibility, on for faster drawing
|
// Switch off for binary compatibility, on for faster drawing
|
||||||
#define wxRICHTEXT_USE_OPTIMIZED_LINE_DRAWING 0
|
#define wxRICHTEXT_USE_OPTIMIZED_LINE_DRAWING 0
|
||||||
|
Reference in New Issue
Block a user