added wxTextCtrl::MarkDirty()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-23 00:09:18 +00:00
parent ff1b5f81af
commit 3a9fa0d6b5
19 changed files with 62 additions and 9 deletions

View File

@@ -76,6 +76,7 @@ public:
virtual void Remove(long from, long to);
// clears the dirty flag
virtual void MarkDirty();
virtual void DiscardEdits();
// writing text inserts it at the current position, appending always

View File

@@ -65,7 +65,8 @@ public:
virtual void Replace(long from, long to, const wxString& value);
virtual void Remove(long from, long to);
// clears the dirty flag
// sets/clears the dirty flag
virtual void MarkDirty();
virtual void DiscardEdits();
virtual void SetMaxLength(unsigned long len);

View File

@@ -65,7 +65,8 @@ public:
virtual void Replace(long from, long to, const wxString& value);
virtual void Remove(long from, long to);
// clears the dirty flag
// sets/clears the dirty flag
virtual void MarkDirty();
virtual void DiscardEdits();
virtual void SetMaxLength(unsigned long len);

View File

@@ -76,7 +76,8 @@ public:
// load the controls contents from the file
virtual bool LoadFile(const wxString& file);
// clears the dirty flag
// sets/clears the dirty flag
virtual void MarkDirty();
virtual void DiscardEdits();
// set the max number of characters which may be entered in a single line

View File

@@ -86,6 +86,7 @@ public:
virtual void WriteText(const wxString& text);
virtual void AppendText(const wxString& text);
virtual void MarkDirty();
virtual void DiscardEdits();
virtual bool IsModified() const;

View File

@@ -74,6 +74,7 @@ public:
virtual bool LoadFile(const wxString& file);
// clears the dirty flag
virtual void MarkDirty();
virtual void DiscardEdits();
virtual void SetMaxLength(unsigned long len);

View File

@@ -74,6 +74,7 @@ public:
virtual bool LoadFile(const wxString& rsFile);
virtual void MarkDirty();
virtual void DiscardEdits(void);
virtual void WriteText(const wxString& rsText);

View File

@@ -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

View File

@@ -152,7 +152,8 @@ public:
virtual void Replace(wxTextPos from, wxTextPos to, const wxString& value);
virtual void Remove(wxTextPos from, wxTextPos to);
// clears the dirty flag
// sets/clears the dirty flag
virtual void MarkDirty();
virtual void DiscardEdits();
// writing text inserts it at the current position, appending always