[pywin32-checkins] pywin32/win32/Lib win32rcparser.py, 1.5.2.2, 1.5.2.3
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-12-04 05:06:32
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv27729/win32/Lib Modified Files: Tag: py3k win32rcparser.py Log Message: merge various minor changes from trunk Index: win32rcparser.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/win32rcparser.py,v retrieving revision 1.5.2.2 retrieving revision 1.5.2.3 diff -C2 -d -r1.5.2.2 -r1.5.2.3 *** win32rcparser.py 27 Nov 2008 11:31:10 -0000 1.5.2.2 --- win32rcparser.py 4 Dec 2008 05:06:25 -0000 1.5.2.3 *************** *** 32,35 **** --- 32,40 ---- } + # These are "default styles" for certain controls - ie, Visual Studio assumes + # the styles will be applied, and emits a "NOT {STYLE_NAME}" if it is to be + # disabled. These defaults have been determined by experimentation, so may + # not be completely accurate (most notably, some styles and/or control-types + # may be missing. _addDefaults = {"EDITTEXT":win32con.WS_BORDER | win32con.WS_TABSTOP, "GROUPBOX":win32con.BS_GROUPBOX, *************** *** 39,43 **** "CTEXT":win32con.SS_CENTER, "RTEXT":win32con.SS_RIGHT, ! "ICON":win32con.SS_ICON} defaultControlStyle = win32con.WS_CHILD | win32con.WS_VISIBLE --- 44,50 ---- "CTEXT":win32con.SS_CENTER, "RTEXT":win32con.SS_RIGHT, ! "ICON":win32con.SS_ICON, ! "LISTBOX":win32con.LBS_NOTIFY, ! } defaultControlStyle = win32con.WS_CHILD | win32con.WS_VISIBLE |