Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3164/pywin/framework
Modified Files:
toolmenu.py
Log Message:
expose if win32ui is build as unicode and hook the 'W' version of some messages accordingly
Index: toolmenu.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/toolmenu.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** toolmenu.py 5 Jan 2009 11:03:05 -0000 1.4
--- toolmenu.py 14 Jan 2009 12:11:46 -0000 1.5
***************
*** 123,126 ****
--- 123,131 ----
from pywin.mfc import dialog
+ if win32ui.UNICODE:
+ LVN_ENDLABELEDIT = commctrl.LVN_ENDLABELEDITW
+ else:
+ LVN_ENDLABELEDIT = commctrl.LVN_ENDLABELEDITA
+
class ToolMenuPropPage(dialog.PropertyPage):
def __init__(self):
|