[USER32][NTUSER]

Remove some dead code; fix comments; mention that some code is redundant. This is added to help future people in cleaning up that mess called "win32k/user32".

svn path=/trunk/; revision=70751
This commit is contained in:
Hermès Bélusca-Maïto 2016-02-15 01:20:54 +00:00
parent dcef60424d
commit 22becce7e3
3 changed files with 3 additions and 3 deletions

View file

@ -404,7 +404,7 @@ UserPaintCaption(PWND pWnd, INT Flags)
/*
* When themes are not enabled we can go on and paint the non client area.
* However if we do that with themes enabled we will draw a classic frame.
* This is sovled by sending a themes specific message to notify the themes
* This is solved by sending a themes specific message to notify the themes
* engine that the caption needs to be redrawn
*/
if (gpsi->dwSRVIFlags & SRVINFO_APIHOOK)

View file

@ -299,6 +299,7 @@ UserSendUiUpdateMsg(HWND hwnd, LPARAM lParam)
return TRUE;
}
/* WARNING: Redundant with /ntuser/defwnd.c!UserPaintCaption !! */
static void
UserPaintCaption(PWND pwnd, INT Flags)
{
@ -309,7 +310,7 @@ UserPaintCaption(PWND pwnd, INT Flags)
/*
* When themes are not enabled we can go on and paint the non client area.
* However if we do that with themes enabled we will draw a classic frame.
* This is sovled by sending a themes specific message to notify the themes
* This is solved by sending a themes specific message to notify the themes
* engine that the caption needs to be redrawn
*/
if(gpsi->dwSRVIFlags & SRVINFO_APIHOOK)

View file

@ -15,7 +15,6 @@
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
LRESULT DefWndNCPaint(HWND hWnd, HRGN hRgn, BOOL Active);
void MDI_CalcDefaultChildPos( HWND hwndClient, INT total, LPPOINT lpPos, INT delta, UINT *id );
/* FUNCTIONS *****************************************************************/