Don't start out with a transparent colour, the ColourDialog on OSX will not change it without extra steps

This commit is contained in:
Robin Dunn
2019-10-07 15:17:53 -07:00
parent 0eba88c53a
commit 50b9cfd95a

View File

@@ -1171,7 +1171,6 @@ class HyperTreeListDemo(wx.Frame):
self.columnchoice.Bind(wx.EVT_CHOICE, self.OnColumnChoiceChanged)
self.columnbackgroundcolour = csel.ColourSelect(self.leftpanel, -1, "Choose...", wx.BLACK)
self.columnbackgroundcolour.Bind(csel.EVT_COLOURSELECT, self.OnColumnBackgroundColour)
self.columnbackgroundcolour.SetColour(wx.Colour(255,255,255,0))
flexgridcolumn.Add(label, 0, wx.ALIGN_CENTER_VERTICAL)
hSizer = wx.BoxSizer(wx.HORIZONTAL)
hSizer.Add(self.columnchoice, 0)