mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 12:13:01 +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));
|
TRACE("new client=(%s)\n", wine_dbgstr_rect(rect));
|
||||||
return 0;
|
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,
|
@@ -3652,7 +3728,11 @@ REBAR_WindowProc (HWND hwnd, UINT uMsg,
|
||||||
return REBAR_ShowBand (infoPtr, wParam, lParam);
|
return REBAR_ShowBand (infoPtr, wParam, lParam);
|
||||||
|
|
||||||
|
|
|
@ -3378,7 +3378,11 @@ REBAR_NCHitTest (const REBAR_INFO *infoPtr, LPARAM lParam)
|
||||||
(INT *)&nmmouse.dwItemSpec);
|
(INT *)&nmmouse.dwItemSpec);
|
||||||
nmmouse.dwItemData = 0;
|
nmmouse.dwItemData = 0;
|
||||||
nmmouse.pt = clpt;
|
nmmouse.pt = clpt;
|
||||||
|
#ifdef __REACTOS__
|
||||||
nmmouse.dwHitInfo = scrap;
|
nmmouse.dwHitInfo = scrap;
|
||||||
|
#else
|
||||||
|
nmmouse.dwHitInfo = 0;
|
||||||
|
#endif
|
||||||
if ((i = REBAR_Notify((NMHDR *) &nmmouse, infoPtr, NM_NCHITTEST))) {
|
if ((i = REBAR_Notify((NMHDR *) &nmmouse, infoPtr, NM_NCHITTEST))) {
|
||||||
TRACE("notify changed return value from %ld to %d\n",
|
TRACE("notify changed return value from %ld to %d\n",
|
||||||
ret, i);
|
ret, i);
|
||||||
|
@ -3450,7 +3454,9 @@ REBAR_Paint (const REBAR_INFO *infoPtr, HDC hdc)
|
||||||
{
|
{
|
||||||
if (hdc) {
|
if (hdc) {
|
||||||
TRACE("painting\n");
|
TRACE("painting\n");
|
||||||
|
#ifdef __REACTOS__
|
||||||
REBAR_EraseBkGnd (infoPtr, hdc);
|
REBAR_EraseBkGnd (infoPtr, hdc);
|
||||||
|
#endif
|
||||||
REBAR_Refresh (infoPtr, hdc);
|
REBAR_Refresh (infoPtr, hdc);
|
||||||
} else {
|
} else {
|
||||||
PAINTSTRUCT ps;
|
PAINTSTRUCT ps;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue