editors/ConfTreeNodeEditor.py
changeset 1747 6046ffa2280f
parent 1745 f9d32913bad4
child 1748 ba5f64fe0e00
equal deleted inserted replaced
1746:45d6f5fba016 1747:6046ffa2280f
    35 from controls import TextCtrlAutoComplete
    35 from controls import TextCtrlAutoComplete
    36 from dialogs import BrowseValuesLibraryDialog
    36 from dialogs import BrowseValuesLibraryDialog
    37 from util.BitmapLibrary import GetBitmap
    37 from util.BitmapLibrary import GetBitmap
    38 
    38 
    39 if wx.Platform == '__WXMSW__':
    39 if wx.Platform == '__WXMSW__':
    40     faces = { 'times': 'Times New Roman',
    40     faces = {
    41               'mono':  'Courier New',
    41         'times': 'Times New Roman',
    42               'helv':  'Arial',
    42         'mono':  'Courier New',
    43               'other': 'Comic Sans MS',
    43         'helv':  'Arial',
    44               'size':  16,
    44         'other': 'Comic Sans MS',
    45              }
    45         'size':  16,
       
    46     }
    46 else:
    47 else:
    47     faces = { 'times': 'Times',
    48     faces = {
    48               'mono':  'Courier',
    49         'times': 'Times',
    49               'helv':  'Helvetica',
    50         'mono':  'Courier',
    50               'other': 'new century schoolbook',
    51         'helv':  'Helvetica',
    51               'size':  18,
    52         'other': 'new century schoolbook',
    52              }
    53         'size':  18,
       
    54     }
    53 
    55 
    54 SCROLLBAR_UNIT = 10
    56 SCROLLBAR_UNIT = 10
    55 
    57 
    56 
    58 
    57 class GenBitmapTextButton(wx.lib.buttons.GenBitmapTextButton):
    59 class GenBitmapTextButton(wx.lib.buttons.GenBitmapTextButton):