diff -r c02818d7e29f -r 7e61baa047f0 controls/TextCtrlAutoComplete.py --- a/controls/TextCtrlAutoComplete.py Mon Aug 14 22:30:41 2017 +0300 +++ b/controls/TextCtrlAutoComplete.py Mon Aug 14 23:27:15 2017 +0300 @@ -34,6 +34,7 @@ LISTBOX_BORDER_HEIGHT = 4 LISTBOX_INTERVAL_HEIGHT = 6 + class PopupWithListbox(wx.PopupWindow): def __init__(self, parent, choices=[]): @@ -105,6 +106,7 @@ self.ListBox.HitTest(wx.Point(event.GetX(), event.GetY()))) event.Skip() + class TextCtrlAutoComplete(wx.TextCtrl): def __init__ (self, parent, choices=None, dropDownClick=True,