+ void SetUpdateFont(bool update) { m_updateFont = update; }
+ void UpdateFontIfNeeded();
+
+ void SetModified() { m_modified = true; }
+
+ // 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();
+
+ // should we ignore the changed signal? always resets the flag
+ bool IgnoreTextUpdate();
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
+
+protected:
+ virtual wxSize DoGetBestSize() const;
+
+ // common part of all ctors
+ void Init();
+
+ // overridden wxWindow methods
+ virtual void DoFreeze();
+ virtual void DoThaw();
+
+ // get the vertical adjustment, if any, NULL otherwise
+ GtkAdjustment *GetVAdj() const;
+
+ // scroll the control by the given number of pixels, return true if the
+ // scroll position changed
+ bool DoScroll(GtkAdjustment *adj, int diff);
+
+ // Widgets that use the style->base colour for the BG colour should
+ // override this and return true.
+ virtual bool UseGTKStyleBase() const { return true; }
+
+ virtual void DoSetValue(const wxString &value, int flags = 0);
+ virtual wxString DoGetValue() const;