We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b4fc3a commit c60174dCopy full SHA for c60174d
src/robotide/preferences/editors.py
@@ -36,7 +36,10 @@ def ReadFonts():
36
'''Returns list with fixed width fonts'''
37
f = wx.FontEnumerator()
38
f.EnumerateFacenames()
39
- names = f.GetFacenames(fixedWidthOnly=True)
+ if wx.VERSION >= (3, 0, 3, ''): # DEBUG wxPhoenix
40
+ names = f.GetFacenames(fixedWidthOnly=True)
41
+ else:
42
+ names = f.GetFacenames()
43
names = [n for n in names if not n.startswith('@')]
44
names.sort()
45
return names
src/robotide/ui/mainframe.py
@@ -175,7 +175,7 @@ def __init__(self, application, controller):
175
self.Bind(wx.EVT_SIZE, self.OnSize)
176
self.Bind(wx.EVT_MOVE, self.OnMove)
177
self.Bind(wx.EVT_MAXIMIZE, self.OnMaximize)
178
- if wx.VERSION >= (2, 9, 5, ''): # DEBUG wxPhoenix
179
self.Bind(wx.EVT_DIRCTRL_FILEACTIVATED, self.OnOpenFile)
180
self.Bind(wx.EVT_TREE_ITEM_RIGHT_CLICK, self.OnMenuOpenFile)
181
self._subscribe_messages()
@@ -283,7 +283,7 @@ def _init_ui(self):
283
self.actions.register_actions(
284
ActionInfoCollection(_menudata, self, self.tree))
285
###### File explorer pane
286
287
self.filemgr = wx.GenericDirCtrl(self, -1, size=(200, 225),
288
style=wx.DIRCTRL_3D_INTERNAL)
289
self.filemgr.SetMinSize(wx.Size(120, 200))
0 commit comments