Commit 73d8c97f authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize.

parent 7a6d41ca
......@@ -1276,6 +1276,7 @@ REBAR_ForceResize (REBAR_INFO *infoPtr)
x, y, width, height);
SetWindowPos (infoPtr->hwndSelf, 0, x, y, width, height,
SWP_NOZORDER);
infoPtr->fStatus &= ~AUTO_RESIZE;
}
......@@ -4484,7 +4485,6 @@ REBAR_Size (REBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
infoPtr->fStatus |= BAND_NEEDS_LAYOUT;
REBAR_Layout (infoPtr, &rcClient, TRUE, TRUE);
infoPtr->fStatus &= ~AUTO_RESIZE;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment