]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxStyledTextCtrl_2.py
wxUniversal fixes:
[wxWidgets.git] / wxPython / demo / wxStyledTextCtrl_2.py
index c5dfd8af7a8f0df89a05694f0556335df1f5a226..c11f30d23bf401b50f273c6c869491c690e47abd 100644 (file)
@@ -136,6 +136,8 @@ class PythonSTC(wxStyledTextCtrl):
 
 
     def OnKeyPressed(self, event):
+        if self.CallTipActive():
+            self.CallTipCancel()
         key = event.KeyCode()
         if key == 32 and event.ControlDown():
             pos = self.GetCurrentPos()