Added a wxRichTextCtrl-specific caret implementation in case of need

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2008-04-29 09:10:32 +00:00
parent 0b822969a6
commit 1c13f06e4e
3 changed files with 256 additions and 16 deletions

View File

@@ -74,6 +74,14 @@
#define wxRichTextAttr wxTextAttr
#define wxTextAttrEx wxTextAttr
// Setting wxRICHTEXT_USE_OWN_CARET to 1 implements a non-flashing
// cursor reliably without using wxClientDC in case there
// are platform-specific problems with the generic caret.
#define wxRICHTEXT_USE_OWN_CARET 0
// Switch off for binary compatibility, on for faster drawing
#define wxRICHTEXT_USE_OPTIMIZED_LINE_DRAWING 1
/*!
* Special characters
*/
@@ -210,9 +218,6 @@ class WXDLLIMPEXP_FWD_RICHTEXT wxRichTextBuffer;
#define wxSCRIPT_MUL_FACTOR 1.5
// Leave on for faster drawing, by storing the length of each object in a line
#define wxRICHTEXT_USE_OPTIMIZED_LINE_DRAWING 1
/*!
* wxRichTextFontTable
* Manages quick access to a pool of fonts for rendering rich text