diff --git a/src/os2/textctrl.cpp b/src/os2/textctrl.cpp index b99d13006c..3949c8f787 100644 --- a/src/os2/textctrl.cpp +++ b/src/os2/textctrl.cpp @@ -340,7 +340,6 @@ wxString wxTextCtrl::GetValue() const if (*zStr == '\r') *zStr = '\n'; } - sStr = zStr; return sStr; } // end of wxTextCtrl::GetValue