]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
Use InheritAttributes for wxGTK widgets so they will check
[wxWidgets.git] / src / os2 / textctrl.cpp
index 9efd84b6e8c1700531e3699a010f5aa4261faf74..8ccbe4d59fc47ae9209096e6028b0ce1f33208e6 100644 (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") );
 }
 
 //