X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a9fa0d6b59c5c299766b3ed71ccadeeebf3dbb8..e8e24dfa9322702d56a125586a7d4a37f4a5dfd7:/src/os2/textctrl.cpp 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") ); } //