Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11513
Modified Files:
win32gui.i
Log Message:
New functions SetMenuInfo and GetMenuInfo prevented importing under NT -
now only in winxpgui
Index: win32gui.i
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32gui.i,v
retrieving revision 1.61
retrieving revision 1.62
diff -C2 -d -r1.61 -r1.62
*** win32gui.i 12 Apr 2005 06:05:03 -0000 1.61
--- win32gui.i 12 Apr 2005 08:03:36 -0000 1.62
***************
*** 2927,2931 ****
--- 2927,2933 ----
);
+ %ifdef WINXPGUI
// @pyswig |SetMenuInfo|Sets information for a specified menu.
+ // @comm To avoid complications with Windows NT, this function only exists in winxpgui (not win32gui)
BOOLAPI SetMenuInfo(
HMENU hmenu, // @pyparm int|hmenu||handle to menu
***************
*** 2934,2942 ****
);
! // @pyswig |GetMenuInfo|Sets information about a specified menu.
BOOLAPI GetMenuInfo(
HMENU hMenu, // @pyparm int|hmenu||handle to menu
MENUINFO *BOTH // @pyparm buffer|info||A buffer to fill with the information.
);
--- 2936,2946 ----
);
! // @pyswig |GetMenuInfo|Gets information about a specified menu.
! // @comm To avoid complications with Windows NT, this function only exists in winxpgui (not win32gui)
BOOLAPI GetMenuInfo(
HMENU hMenu, // @pyparm int|hmenu||handle to menu
MENUINFO *BOTH // @pyparm buffer|info||A buffer to fill with the information.
);
+ %endif
|