]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/regtest/regtest.cpp
Removed two more GUI lock-ups. This time when
[wxWidgets.git] / samples / regtest / regtest.cpp
index 5b390269a103992bb5fe11297ac3b46d3ddeb41c..f670fc00ad735c872d589237b79e07737bb578e8 100644 (file)
@@ -529,7 +529,7 @@ void RegTreeCtrl::OnChar(wxKeyEvent& event)
   if ( event.KeyCode() == WXK_DELETE )
     DeleteSelected();
   else
-    wxTreeCtrl::OnChar(event);
+    event.Skip();
 }
 
 void RegTreeCtrl::OnSelChanged(wxTreeEvent& event)