Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/scintilla
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21178
Modified Files:
formatter.py
Log Message:
Use default window colour for editor background
Index: formatter.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/scintilla/formatter.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** formatter.py 7 Oct 2004 08:54:01 -0000 1.11
--- formatter.py 22 Feb 2008 01:22:59 -0000 1.12
***************
*** 79,83 ****
self.default_background = bg
if self.default_background is None:
! self.default_background = win32api.RGB( 0xff, 0xff, 0xff )
def GetDefaultBackground( self ):
--- 79,83 ----
self.default_background = bg
if self.default_background is None:
! self.default_background = win32api.GetSysColor(win32con.COLOR_WINDOW)
def GetDefaultBackground( self ):
|