CVS: anygui/lib/anygui/backends ctmswgui.py,1.2,1.3
Robin Becker <[email protected]> Fri, 15 Nov 2002 05:47:00 -0800
| Newsgroups | gmane.comp.python.anygui.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/anygui/anygui/lib/anygui/backends
In directory usw-pr-cvs1:/tmp/cvs-serv3330
Modified Files:
ctmswgui.py
Log Message:
Thomas' second recommendation for create command
Index: ctmswgui.py
===================================================================
RCS file: /cvsroot/anygui/anygui/lib/anygui/backends/ctmswgui.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** ctmswgui.py 15 Nov 2002 13:33:31 -0000 1.2
--- ctmswgui.py 15 Nov 2002 13:46:58 -0000 1.3
***************
*** 150,162 ****
else:
parent = 0
- t = self._wndclass
- if t is None:
- self._i_wndclass = 0
- elif type(t) is type(''):
- self._i_wndclass = c_string(t)
- elif type(t) is type(0):
- self._i_wndclass = t
widget = user32.CreateWindowEx(self._win_style_ex,
! self._i_wndclass,
0,
self._win_style,
--- 150,155 ----
else:
parent = 0
widget = user32.CreateWindowEx(self._win_style_ex,
! self._wndclass,
0,
self._win_style,
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html