Added MarkDirty implementation for MultiLine Edit controls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-10-01 21:23:04 +00:00
parent 430d4341ff
commit b21ec1a76c

View File

@@ -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") );
}
//