controls/TextCtrlAutoComplete.py
changeset 1832 0f1081928d65
parent 1782 5b6ad7a7fd9d
child 1852 70c1cc354a8f
equal deleted inserted replaced
1831:56b48961cc68 1832:0f1081928d65
    20 #
    20 #
    21 # You should have received a copy of the GNU General Public License
    21 # You should have received a copy of the GNU General Public License
    22 # along with this program; if not, write to the Free Software
    22 # along with this program; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
       
    25 import cPickle
    25 import wx
    26 import wx
    26 import cPickle
       
    27 
    27 
    28 MAX_ITEM_COUNT = 10
    28 MAX_ITEM_COUNT = 10
    29 MAX_ITEM_SHOWN = 6
    29 MAX_ITEM_SHOWN = 6
    30 if wx.Platform == '__WXMSW__':
    30 if wx.Platform == '__WXMSW__':
    31     LISTBOX_BORDER_HEIGHT = 2
    31     LISTBOX_BORDER_HEIGHT = 2