# HG changeset patch
# User GP Orcullo <kinsamanka@gmail.com>
# Date 1666950167 -28800
# Node ID 247599238b9db0907c39fd2a0405c2f4f1103ec7
# Parent  479ba844ded876f50e087b7e83ce1795fc2518b0
fix - TypeError: unhashable type: 'Colour'

diff -r 479ba844ded8 -r 247599238b9d graphics/GraphicCommons.py
--- 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