projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now possible to compile with wxURL disabled
[wxWidgets.git]
/
src
/
motif
/
textctrl.cpp
diff --git
a/src/motif/textctrl.cpp
b/src/motif/textctrl.cpp
index 0177cb2b2ff055fdf86ed3a57f37f2d41dca55fa..090da09f5ae193a5bab9f6587b3b7593b26e63a8 100644
(file)
--- a/
src/motif/textctrl.cpp
+++ b/
src/motif/textctrl.cpp
@@
-21,6
+21,9
@@
#pragma implementation "textctrl.h"
#endif
#pragma implementation "textctrl.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#ifdef __VMS
#define XtParent XTPARENT
#endif
#ifdef __VMS
#define XtParent XTPARENT
#endif
@@
-420,7
+423,12
@@
bool wxTextCtrl::IsModified() const
return m_modified;
}
return m_modified;
}
-// Makes 'unmodified'
+// Makes modified or unmodified
+void wxTextCtrl::MarkDirty()
+{
+ m_modified = TRUE;
+}
+
void wxTextCtrl::DiscardEdits()
{
m_modified = FALSE;
void wxTextCtrl::DiscardEdits()
{
m_modified = FALSE;