]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/editwindow.py
Added note about wx.TaskbarIcon
[wxWidgets.git] / wxPython / wx / py / editwindow.py
index cc62b12488a1476038c293a13426afab59308d87..dddd906f82271ccd629de14c5b0503e154b697c9 100644 (file)
@@ -15,11 +15,6 @@ import time
 import dispatcher
 from version import VERSION
 
-try:
-    True
-except NameError:
-    True = 1==1
-    False = 1==0
 
 if wx.Platform == '__WXMSW__':
     FACES = { 'times'  : 'Times New Roman',
@@ -87,7 +82,8 @@ class EditWindow(stc.StyledTextCtrl):
         self.autoCompleteIncludeDouble = True
         self.autoCompleteCaseInsensitive = True
         self.AutoCompSetIgnoreCase(self.autoCompleteCaseInsensitive)
-        self.AutoCompSetAutoHide(False)
+        self.autoCompleteAutoHide = False
+        self.AutoCompSetAutoHide(self.autoCompleteAutoHide)
         self.AutoCompStops(' .,;:([)]}\'"\\<>%^&+-=*/|`')
         # Do we want to automatically pop up command argument help?
         self.autoCallTip = True