]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/textctrl.cpp
refresh and flicker even more to ensure proper refresh in the resizeable dialogs
[wxWidgets.git] / src / os2 / textctrl.cpp
index c663907618a8ff7f78d32c31b1920555132665f0..b99d13006c242d2f9bdbcbcee4bacb971bb6f0d4 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------