We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 273d5ba commit f32c71fCopy full SHA for f32c71f
garlicsim_wx/garlicsim_wx/misc/menu_bar/menu_bar.py
@@ -13,6 +13,8 @@ def __init__(self, frame):
13
super(MenuBar, self).__init__()
14
self.frame = frame
15
16
+ is_mac = (wx.Platform == '__WXMAC__')
17
+
18
self.file_menu = FileMenu(frame)
19
self.Append(self.file_menu, '&File')
20
@@ -48,7 +50,9 @@ def __init__(self, frame):
48
50
)
49
51
52
self.window_menu = WindowMenu(frame)
- self.Append(self.window_menu, '&Window')
53
+ title_of_window_menu = '&Workspace' if is_mac else '&Window'
54
+ self.Append(self.window_menu, title_of_window_menu)
55
56
self.help_menu = HelpMenu(frame)
- self.Append(self.help_menu, '&Help')
57
+ title_of_help_menu = 'GarlicSim &Help' if is_mac else '&Help'
58
+ self.Append(self.help_menu, title_of_help_menu)
0 commit comments