Compilation fix for wxCStrData handling.
[wxWidgets.git] / wxPython / wx / py / editwindow.py
index 26c419c696d483ef0a5fd01251db65d0dd789050..324abb255efbc1d4c56376475b39e20530add8cd 100644 (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)