mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 11:00:07 +01:00
Fix vlbox test on Python 3
This commit is contained in:
@@ -97,7 +97,7 @@ class MyVListBox(wx.VListBox):
|
|||||||
color = 'white'
|
color = 'white'
|
||||||
if self.IsSelected(idx):
|
if self.IsSelected(idx):
|
||||||
color = self.GetSelectionBackground()
|
color = self.GetSelectionBackground()
|
||||||
if not color:
|
if not color.IsOk():
|
||||||
color = 'navy'
|
color = 'navy'
|
||||||
dc.SetPen(wx.Pen(color, 1))
|
dc.SetPen(wx.Pen(color, 1))
|
||||||
dc.SetBrush(wx.Brush(color))
|
dc.SetBrush(wx.Brush(color))
|
||||||
|
|||||||
Reference in New Issue
Block a user