+ // replace the contents of the selection or of the entire control with the
+ // given text
+ void DoWriteText(const wxString& text, bool selectionOnly = TRUE);
+
+ // set the selection possibly without scrolling the caret into view
+ void DoSetSelection(long from, long to, bool scrollCaret = TRUE);
+
+ // get the length of the line containing the character at the given
+ // position
+ long GetLengthOfLineContainingPos(long pos) const;
+
+ // override some base class virtuals
+ virtual bool MSWShouldPreProcessMessage(WXMSG* pMsg);
+ virtual wxSize DoGetBestSize() const;
+
+#if wxUSE_RICHEDIT
+ // we're using RICHEDIT (and not simple EDIT) control if this field is not
+ // 0, it also gives the version of the RICHEDIT control being used (1, 2 or
+ // 3 so far)
+ int m_verRichEdit;
+#endif // wxUSE_RICHEDIT