]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp.in
byte length for interim UniChar String corrected
[wxWidgets.git] / src / stc / stc.cpp.in
index d23c6dbdbd5073f765db1e0b29d1fe384ec53b70..a54118ff6ad48085990bf102b84cbc7d1ea0742e 100644 (file)
@@ -518,13 +518,15 @@ void wxStyledTextCtrl::OnKeyDown(wxKeyEvent& evt) {
 }
 
 
-void wxStyledTextCtrl::OnLoseFocus(wxFocusEvent& WXUNUSED(evt)) {
+void wxStyledTextCtrl::OnLoseFocus(wxFocusEvent& evt) {
     m_swx->DoLoseFocus();
+    evt.Skip();
 }
 
 
-void wxStyledTextCtrl::OnGainFocus(wxFocusEvent& WXUNUSED(evt)) {
+void wxStyledTextCtrl::OnGainFocus(wxFocusEvent& evt) {
     m_swx->DoGainFocus();
+    evt.Skip();
 }