Skip to content

Commit 74f0d2f

Browse files
committed
Fix compatibility with wx3.0
1 parent ecd3e13 commit 74f0d2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panels/default_panels.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ def CreateCanvas(self, size):
13931393
else:
13941394
self.canvas = MyWXCanvas(self.virtualw, size)
13951395

1396-
self.virtualw.SetBackgroundColour(wx.NamedColor("WHITE"))
1396+
self.virtualw.SetBackgroundColour(wx.NamedColour("white"))
13971397

13981398
self.virtualw.SetVirtualSize(size)
13991399
#self.virtualw.SetScrollbars(20, 20, size[0]/20, size[1]/20)

0 commit comments

Comments
 (0)