mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 16:35:49 +00:00
[COMCTL32]: Addendum to r72116: Add the __REACTOS__ ifdefs to ease wine syncing, and update the patch in accordance.
CORE-11532 svn path=/trunk/; revision=72117
This commit is contained in:
parent
c515594b02
commit
b515da6e1e
2 changed files with 28 additions and 0 deletions
|
@ -848,6 +848,28 @@ diff -pudN e:\wine\dlls\comctl32/rebar.c e:\reactos\dll\win32\comctl32/rebar.c
|
|||
}
|
||||
TRACE("new client=(%s)\n", wine_dbgstr_rect(rect));
|
||||
return 0;
|
||||
@@ -3302,7 +3365,11 @@ REBAR_NCHitTest (const REBAR_INFO *infoP
|
||||
(INT *)&nmmouse.dwItemSpec);
|
||||
nmmouse.dwItemData = 0;
|
||||
nmmouse.pt = clpt;
|
||||
+#ifdef __REACTOS__
|
||||
+ nmmouse.dwHitInfo = scrap;
|
||||
+#else
|
||||
nmmouse.dwHitInfo = 0;
|
||||
+#endif
|
||||
if ((i = REBAR_Notify((NMHDR *) &nmmouse, infoPtr, NM_NCHITTEST))) {
|
||||
TRACE("notify changed return value from %ld to %d\n",
|
||||
ret, i);
|
||||
@@ -3374,6 +3441,9 @@ REBAR_Paint (const REBAR_INFO *infoPtr,
|
||||
{
|
||||
if (hdc) {
|
||||
TRACE("painting\n");
|
||||
+#ifdef __REACTOS__
|
||||
+ REBAR_EraseBkGnd (infoPtr, hdc);
|
||||
+#endif
|
||||
REBAR_Refresh (infoPtr, hdc);
|
||||
} else {
|
||||
PAINTSTRUCT ps;
|
||||
@@ -3652,7 +3728,11 @@ REBAR_WindowProc (HWND hwnd, UINT uMsg,
|
||||
return REBAR_ShowBand (infoPtr, wParam, lParam);
|
||||
|
||||
|
|
|
@ -3378,7 +3378,11 @@ REBAR_NCHitTest (const REBAR_INFO *infoPtr, LPARAM lParam)
|
|||
(INT *)&nmmouse.dwItemSpec);
|
||||
nmmouse.dwItemData = 0;
|
||||
nmmouse.pt = clpt;
|
||||
#ifdef __REACTOS__
|
||||
nmmouse.dwHitInfo = scrap;
|
||||
#else
|
||||
nmmouse.dwHitInfo = 0;
|
||||
#endif
|
||||
if ((i = REBAR_Notify((NMHDR *) &nmmouse, infoPtr, NM_NCHITTEST))) {
|
||||
TRACE("notify changed return value from %ld to %d\n",
|
||||
ret, i);
|
||||
|
@ -3450,7 +3454,9 @@ REBAR_Paint (const REBAR_INFO *infoPtr, HDC hdc)
|
|||
{
|
||||
if (hdc) {
|
||||
TRACE("painting\n");
|
||||
#ifdef __REACTOS__
|
||||
REBAR_EraseBkGnd (infoPtr, hdc);
|
||||
#endif
|
||||
REBAR_Refresh (infoPtr, hdc);
|
||||
} else {
|
||||
PAINTSTRUCT ps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue