equal
deleted
inserted
replaced
51 'size' : 18, |
51 'size' : 18, |
52 } |
52 } |
53 |
53 |
54 SCROLLBAR_UNIT = 10 |
54 SCROLLBAR_UNIT = 10 |
55 |
55 |
|
56 |
56 class GenBitmapTextButton(wx.lib.buttons.GenBitmapTextButton): |
57 class GenBitmapTextButton(wx.lib.buttons.GenBitmapTextButton): |
57 def _GetLabelSize(self): |
58 def _GetLabelSize(self): |
58 """ used internally """ |
59 """ used internally """ |
59 w, h = self.GetTextExtent(self.GetLabel()) |
60 w, h = self.GetTextExtent(self.GetLabel()) |
60 if not self.bmpLabel: |
61 if not self.bmpLabel: |
121 wx.StaticBitmap.__init__(self, parent, ID, |
122 wx.StaticBitmap.__init__(self, parent, ID, |
122 bitmap, |
123 bitmap, |
123 pos, size, |
124 pos, size, |
124 style, |
125 style, |
125 name) |
126 name) |
|
127 |
126 |
128 |
127 class ConfTreeNodeEditor(EditorPanel): |
129 class ConfTreeNodeEditor(EditorPanel): |
128 |
130 |
129 SHOW_BASE_PARAMS = True |
131 SHOW_BASE_PARAMS = True |
130 SHOW_PARAMS = True |
132 SHOW_PARAMS = True |