X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9806a823b04b05f1f07121526e5a9fafb74689cd..f148f2bac3fb0fa6d984050fb940112da150aeff:/include/wx/textctrl.h diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index eb69adfdc4..8efe4c913a 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -262,7 +262,8 @@ public: virtual bool LoadFile(const wxString& file); virtual bool SaveFile(const wxString& file = wxEmptyString); - // clears the dirty flag + // sets/clears the dirty flag + virtual void MarkDirty() = 0; virtual void DiscardEdits() = 0; // set the max number of characters which may be entered in a single line @@ -335,7 +336,9 @@ public: wxTextCtrl& operator<<(const wxChar c); // do the window-specific processing after processing the update event - virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ; + virtual void DoUpdateWindowUI(wxUpdateUIEvent& event); + + virtual bool ShouldInheritColours() const { return false; } protected: // the name of the last file loaded with LoadFile() which will be used by