From b21ec1a76c19abce827ffeed1729adf278179904 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Wed, 1 Oct 2003 21:23:04 +0000 Subject: [PATCH] Added MarkDirty implementation for MultiLine Edit controls. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/textctrl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/os2/textctrl.cpp b/src/os2/textctrl.cpp index 9efd84b6e8..8ccbe4d59f 100644 --- a/src/os2/textctrl.cpp +++ b/src/os2/textctrl.cpp @@ -712,7 +712,11 @@ bool wxTextCtrl::IsModified() const void wxTextCtrl::MarkDirty() { - wxFAIL_MSG( _T("not implemented") ); + if (m_bIsMLE) + ::WinSendMsg(GetHwnd(), MLM_SETCHANGED, MPFROMLONG(TRUE), 0); + else + // EM controls do not have a SETCHANGED, what can we do?? + wxFAIL_MSG( _T("not implemented") ); } // -- 2.50.0