From a8ad57f65aafe2f0ab29c7e00330f63853080fda Mon Sep 17 00:00:00 2001
From: Scott Talbert <swt@techie.net>
Date: Mon, 19 Nov 2018 20:43:37 -0500
Subject: [PATCH] Fix vlbox test on Python 3
---
unittests/test_vlbox.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unittests/test_vlbox.py b/unittests/test_vlbox.py
index eb7054ee..6925875e 100644
--- a/unittests/test_vlbox.py
+++ b/unittests/test_vlbox.py
@@ -97,7 +97,7 @@ class MyVListBox(wx.VListBox):
color = 'white'
if self.IsSelected(idx):
color = self.GetSelectionBackground()
- if not color:
+ if not color.IsOk():
color = 'navy'
dc.SetPen(wx.Pen(color, 1))
dc.SetBrush(wx.Brush(color))
--
2.19.1