--- a/graphics/GraphicCommons.py Fri Oct 28 17:26:50 2022 +0800
+++ b/graphics/GraphicCommons.py Fri Oct 28 17:42:47 2022 +0800
@@ -94,8 +94,8 @@
HIGHLIGHTCOLOR = wx.CYAN
# Define highlight types
-ERROR_HIGHLIGHT = (wx.Colour(255, 255, 0), wx.RED)
-SEARCH_RESULT_HIGHLIGHT = (wx.Colour(255, 165, 0), wx.WHITE)
+ERROR_HIGHLIGHT = (wx.Colour(255, 255, 0).GetIM(), wx.RED.GetIM())
+SEARCH_RESULT_HIGHLIGHT = (wx.Colour(255, 165, 0).GetIM(), wx.WHITE.GetIM())
# Define highlight refresh inhibition period in second
REFRESH_HIGHLIGHT_PERIOD = 0.1