graphics/GraphicCommons.py
branchpython3
changeset 3762 247599238b9d
parent 3759 f713566d5d01
child 3765 88fe6fc9fd38
--- 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