]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/textctrl.h
Added (and documented) GetTraceMasks so userspace can probe the currently
[wxWidgets.git] / include / wx / msw / textctrl.h
index b852df9a84b985e2907636e84284f11d67e4bc13..283e86b826bc5470be8e791f48dfaa196ca1f997 100644 (file)
@@ -207,6 +207,9 @@ protected:
     // position
     long GetLengthOfLineContainingPos(long pos) const;
 
+    // send TEXT_UPDATED event, return TRUE if it was handled, FALSE otherwise
+    bool SendUpdateEvent();
+
     // override some base class virtuals
     virtual bool MSWShouldPreProcessMessage(WXMSG* pMsg);
     virtual wxSize DoGetBestSize() const;
@@ -218,6 +221,10 @@ protected:
     // 0, it also gives the version of the RICHEDIT control being used (1, 2 or
     // 3 so far)
     int m_verRichEdit;
+
+    // if TRUE, SendUpdateEvent() will eat the next event (see comments in the
+    // code as to why this is needed)
+    bool m_suppressNextUpdate;
 #endif // wxUSE_RICHEDIT
 
 private: