CVS: anygui/lib/anygui/backends dwgui.py,1.2,1.3
Robin Becker <[email protected]> Sun, 03 Nov 2002 03:10:47 -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-serv13356/lib/anygui/backends
Modified Files:
dwgui.py
Log Message:
Fix setEditable
Index: dwgui.py
===================================================================
RCS file: /cvsroot/anygui/anygui/lib/anygui/backends/dwgui.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** dwgui.py 3 Nov 2002 10:33:47 -0000 1.2
--- dwgui.py 3 Nov 2002 11:10:45 -0000 1.3
***************
*** 491,495 ****
def setEditable(self,editable):
if self.widget:
! user32.SendMessage(self.widget, EM_SETREADONLY, editable and 1 or 0, 0)
## def _ensure_events(self):
--- 491,495 ----
def setEditable(self,editable):
if self.widget:
! user32.SendMessage(self.widget, EM_SETREADONLY, not editable and 1 or 0, 0)
## def _ensure_events(self):
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com