]> git.saurik.com Git - wxWidgets.git/commitdiff
Made wxRichTextCtrl cursors accessible
authorJulian Smart <julian@anthemion.co.uk>
Wed, 27 Feb 2008 08:54:55 +0000 (08:54 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 27 Feb 2008 08:54:55 +0000 (08:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextctrl.h

index aa17c9f7d93d3402d103063ca2d02273bf90d9ea..47b752f9266dd15a1c86625226bc7c59cca0b161 100644 (file)
@@ -145,6 +145,18 @@ public:
     /// Get the threshold in character positions for doing layout optimization during sizing
     long GetDelayedLayoutThreshold() const { return m_delayedLayoutThreshold; }
 
+    /// Set text cursor
+    void SetTextCursor(const wxCursor& cursor ) { m_textCursor = cursor; }
+
+    /// Get text cursor
+    wxCursor GetTextCursor() const { return m_textCursor; }
+
+    /// Set URL cursor
+    void SetURLCursor(const wxCursor& cursor ) { m_urlCursor = cursor; }
+
+    /// Get URL cursor
+    wxCursor GetURLCursor() const { return m_urlCursor; }
+
 // Operations
 
     // editing