]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
Fix for mousewheel events when it is set to page mode instead of lines.
[wxWidgets.git] / src / os2 / textctrl.cpp
index f375a3888662a05ae03507ebf7dc37eaf327b822..3949c8f7872e9cd48c3713876b1cc80d27008af8 100644 (file)
@@ -340,7 +340,6 @@ wxString wxTextCtrl::GetValue() const
         if (*zStr == '\r')
             *zStr = '\n';
     }
-    sStr = zStr;
     return sStr;
 } // end of wxTextCtrl::GetValue
 
@@ -1066,15 +1065,6 @@ void wxTextCtrl::OnChar(
     rEvent.Skip();
 } // end of wxTextCtrl::OnChar
 
-void wxTextCtrl::SetFocus()
-{
-    wxTextCtrlBase::SetFocus();
-    if ( !HasFlag(wxTE_MULTILINE) )
-    {
-        SetSelection(-1, -1);
-    }
-} // end of wxTextCtrl::SetFocus
-
 bool wxTextCtrl::OS2Command(
   WXUINT                            uParam
 , WXWORD                            WXUNUSED(vId)