equal
deleted
inserted
replaced
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): |