Use the system settings for the selection colours

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2007-01-17 23:03:46 +00:00
parent 2207fd2168
commit 3e47020738

View File

@ -143,7 +143,9 @@ class EditWindow(stc.StyledTextCtrl):
faces)
self.StyleClearAll()
self.SetSelForeground(True, wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHTTEXT))
self.SetSelBackground(True, wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHT))
# Built in styles
self.StyleSetSpec(stc.STC_STYLE_LINENUMBER,
"back:#C0C0C0,face:%(mono)s,size:%(lnsize)d" % FACES)