Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4315
Modified Files:
win32gui.i
Log Message:
SetFocus was defined as a BOOL, when it really returns the hwnd
previously with focus. This meant it raised bogus exceptions.
Index: win32gui.i
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32gui.i,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** win32gui.i 7 Sep 2004 02:04:28 -0000 1.47
--- win32gui.i 7 Sep 2004 08:38:15 -0000 1.48
***************
*** 1922,1926 ****
// @pyswig |SetFocus|Sets focus to the specified window.
// @pyparm int|hwnd||The handle to the window
! BOOLAPI SetFocus(HWND hwnd);
// @pyswig |UpdateWindow|
--- 1922,1926 ----
// @pyswig |SetFocus|Sets focus to the specified window.
// @pyparm int|hwnd||The handle to the window
! HWND SetFocus(HWND hwnd);
// @pyswig |UpdateWindow|
|