]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/textctrl.h
removed OnCtlColor()
[wxWidgets.git] / include / wx / msw / textctrl.h
index e3b5fc68ad8506b3875b253a748d64c29a407ded..db47342cb0eb56d0c7f762d690053bce0c8fca53 100644 (file)
@@ -252,6 +252,8 @@ protected:
     // code as to why this is needed)
     bool m_suppressNextUpdate;
 
+    virtual wxVisualAttributes GetDefaultAttributes() const;
+
 private:
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxTextCtrl)
@@ -259,6 +261,12 @@ private:
     wxMenu* m_privateContextMenu;
 
     bool m_isNativeCaretShown;
+
+    // this is an optimization: instead of checking all the time whether we
+    // need to move the caret to the end of text (before appending to the
+    // control), we remember whether it is already at the end of text in this
+    // variable
+    bool m_isCaretAtEnd;
 };
 
 #endif