]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
MinGW warning fix.
[wxWidgets.git] / src / os2 / textctrl.cpp
index c6bd6d1dd642aff6bc3309521fdb0f768f4f588f..a1edc9510484103eec46dc94a252073f9b94c770 100644 (file)
@@ -663,7 +663,7 @@ void wxTextCtrl::SetSelection(
     long                            lToChar = lTo;
 
     //
-    // If from and to are both -1, it means (in wxWindows) that all text should
+    // If from and to are both -1, it means (in wxWidgets) that all text should
     // be selected. Translate into Windows convention
     //
     if ((lFrom == -1L) && (lTo == -1L))
@@ -1103,7 +1103,6 @@ bool wxTextCtrl::OS2Command(
                                           );
 
                 InitCommandEvent(vEvent);
-                vEvent.SetString((char*)GetValue().c_str());
                 ProcessCommand(vEvent);
             }
             break;