From: Stefan Neis Date: Wed, 1 Oct 2003 21:23:04 +0000 (+0000) Subject: Added MarkDirty implementation for MultiLine Edit controls. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b21ec1a76c19abce827ffeed1729adf278179904 Added MarkDirty implementation for MultiLine Edit controls. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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") ); } //