- // textctrl specific scrolling
- virtual bool ScrollLines(int lines);
- virtual bool ScrollPages(int pages);
+ // implementation only from now on
+
+ // tell the control to ignore next text changed signal
+ void IgnoreNextTextUpdate(int n = 1) { m_countUpdatesToIgnore = n; }
+
+ // should we ignore the changed signal? always resets the flag
+ bool IgnoreTextUpdate();
+
+ // call this to indicate that the control is about to be changed
+ // programmatically and so m_modified flag shouldn't be set
+ void DontMarkDirtyOnNextChange() { m_dontMarkDirty = true; }
+
+ // should we mark the control as dirty? always resets the flag
+ bool MarkDirtyOnChange();
+
+ // always let GTK have mouse release events for multiline controls
+ virtual bool GTKProcessEvent(wxEvent& event) const;