I had some code running wxPython 2.4 on a Window XP machine which used to the Grid class SetCellHighlightColour() call succesfully
to set the cell highlight color to RED.
But once I migrate to wxPython 2.6.3.3 the SetCellHighlightColour() no longer works.
A co-worker has look into the issue and discovered :
wxPython 2.4:
dc.SetPen(wxPen(m_cellHighlightColour, penWidth, wxSOLID));
wxPython 2.6:
dc.SetPen(wxPen(IsInSelection(row,col)?m_selectionForeground:m_cellHighlightColour, penWidth, wxSOLID));
Apparently in wxPython 2.6 it just read system color of selection foreground and use this for highlighting.
Any workaround or ideas ?
thanks