mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-21 23:06:38 +00:00
libroar/RoarWindowMelp.py: set button accelerator.
This commit is contained in:
parent
84d20a4398
commit
a3d1ed3d96
@ -20,7 +20,7 @@ class RoarWindowMelp(wx.Dialog):
|
||||
helpLabel = "".join(fileObject.readlines())
|
||||
self.title = wx.StaticText(self.panel, label=helpLabel, style=wx.ALIGN_LEFT)
|
||||
self.title.SetFont(wx.Font(8, wx.MODERN, wx.NORMAL, wx.NORMAL, underline=False))
|
||||
self.buttonRoar = wx.Button(self.panel, label="explodes.")
|
||||
self.buttonRoar = wx.Button(self.panel, label="&explodes.")
|
||||
self.buttonRoar.Bind(wx.EVT_BUTTON, self.onButtonRoar)
|
||||
self.sizer.AddMany(((self.title, 1, wx.ALL | wx.CENTER | wx.EXPAND, 4), (self.buttonRoar, 0, wx.ALL | wx.CENTER, 4),))
|
||||
self.panel.SetSizerAndFit(self.sizer)
|
||||
|
Loading…
Reference in New Issue
Block a user