mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 09:21:31 +00:00
[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:
parent
dcef60424d
commit
22becce7e3
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 *****************************************************************/
|
||||
|
|
Loading…
Reference in a new issue