X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..45d67f33e03119fff883432a394c8e062158821e:/wxPython/wx/py/editwindow.py diff --git a/wxPython/wx/py/editwindow.py b/wxPython/wx/py/editwindow.py index cc62b12488..dddd906f82 100644 --- a/wxPython/wx/py/editwindow.py +++ b/wxPython/wx/py/editwindow.py @@ -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