X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9b1d6c8ddc0e923c368529efb0e011edeec44e6..76c79ff467c1af23e3cbc6201c1e6110c110b26a:/src/os2/textctrl.cpp?ds=inline diff --git a/src/os2/textctrl.cpp b/src/os2/textctrl.cpp index c663907618..b99d13006c 100644 --- a/src/os2/textctrl.cpp +++ b/src/os2/textctrl.cpp @@ -385,6 +385,14 @@ void wxTextCtrl::Clear() ::WinSetWindowText(GetHwnd(), ""); } // end of wxTextCtrl::Clear +bool wxTextCtrl::EmulateKeyPress( + const wxKeyEvent& rEvent +) +{ + SetFocus(); + return(wxTextCtrlBase::EmulateKeyPress(rEvent)); +} // end of wxTextCtrl::EmulateKeyPress + // ---------------------------------------------------------------------------- // Clipboard operations // ----------------------------------------------------------------------------