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:
@@ -143,6 +143,8 @@ class EditWindow(stc.StyledTextCtrl):
|
|||||||
faces)
|
faces)
|
||||||
|
|
||||||
self.StyleClearAll()
|
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
|
# Built in styles
|
||||||
self.StyleSetSpec(stc.STC_STYLE_LINENUMBER,
|
self.StyleSetSpec(stc.STC_STYLE_LINENUMBER,
|
||||||
|
Reference in New Issue
Block a user