- Remove zoom button when we do not have PIL and Linux
This commit is contained in:
parent
74626bd846
commit
51fbffcacd
@ -142,8 +142,10 @@ class AttackWindow(wx.Frame):
|
||||
''' Create "interior" window components. In this case it is the
|
||||
attack picture. '''
|
||||
|
||||
# Make zoom buttons
|
||||
sizer = wx.BoxSizer(wx.VERTICAL)
|
||||
|
||||
# Make zoom buttons
|
||||
if Preference.usePIL():
|
||||
buttons = wx.BoxSizer(wx.HORIZONTAL)
|
||||
bt = wx.Button(self,wx.ID_ZOOM_100)
|
||||
buttons.Add(bt,0)
|
||||
|
Loading…
Reference in New Issue
Block a user