From: <ped...@us...> - 2006-11-12 22:39:51
|
Revision: 804 http://svn.sourceforge.net/cegcc/?rev=804&view=rev Author: pedroalves Date: 2006-11-12 14:39:37 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (GetSystemMenu): Implement as macro. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:21:06 UTC (rev 803) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:39:37 UTC (rev 804) @@ -1,5 +1,9 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (GetSystemMenu): Implement as macro. + +2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. 2006-11-12 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:21:06 UTC (rev 803) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:39:37 UTC (rev 804) @@ -3675,7 +3675,11 @@ WINUSERAPI DWORD WINAPI GetSysColor(int); WINUSERAPI HBRUSH WINAPI GetSysColorBrush(int); #define GetSysModalWindow() (NULL) +#ifndef _WIN32_WCE WINUSERAPI HMENU WINAPI GetSystemMenu(HWND,BOOL); +#else +# define GetSystemMenu(hwnd, revert) ((revert)?NULL:(HMENU)(hwnd)) +#endif WINUSERAPI int WINAPI GetSystemMetrics(int); WINUSERAPI DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT); WINUSERAPI DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |