]> git.saurik.com Git - wxWidgets.git/commitdiff
wxTextCtrl::DiscardEdits doesn't empty the text ctrl
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Apr 1999 12:51:51 +0000 (12:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Apr 1999 12:51:51 +0000 (12:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/textctrl.cpp

index d697c836623e316f59f6a172e5a4c542275cd0cd..5a8950d25da7d446368b6b7da1308bc5d7a35d56 100644 (file)
@@ -477,7 +477,6 @@ bool wxTextCtrl::IsModified() const
 // Makes 'unmodified'
 void wxTextCtrl::DiscardEdits()
 {
-    XmTextSetString ((Widget) m_mainWidget, "");
     m_modified = FALSE;
 }