Remove unnecessary color setting, as aux window already does it for us
This commit is contained in:
@@ -36,7 +36,6 @@ class AmmoPickerFrame(AuxiliaryFrame):
|
||||
|
||||
def __init__(self, parent, fit):
|
||||
super().__init__(parent, title='Choose Different Ammo', style=wx.DEFAULT_DIALOG_STYLE, resizeable=True)
|
||||
self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNFACE))
|
||||
padding = 5
|
||||
|
||||
mainSizer = wx.BoxSizer(wx.VERTICAL)
|
||||
@@ -66,7 +65,6 @@ class AmmoPickerContents(wx.ScrolledCanvas):
|
||||
def __init__(self, parent, fit):
|
||||
wx.ScrolledCanvas.__init__(self, parent)
|
||||
self.SetScrollRate(0, 15)
|
||||
self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNFACE))
|
||||
|
||||
indent = 15
|
||||
mods = self.getMods(fit)
|
||||
|
||||
Reference in New Issue
Block a user