Fix for GetValue
authorDavid Webster <Dave.Webster@bhmi.com>
Tue, 16 Jul 2002 04:09:26 +0000 (04:09 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Tue, 16 Jul 2002 04:09:26 +0000 (04:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/textctrl.cpp

index b99d13006c242d2f9bdbcbcee4bacb971bb6f0d4..3949c8f7872e9cd48c3713876b1cc80d27008af8 100644 (file)
@@ -340,7 +340,6 @@ wxString wxTextCtrl::GetValue() const
         if (*zStr == '\r')
             *zStr = '\n';
     }
-    sStr = zStr;
     return sStr;
 } // end of wxTextCtrl::GetValue