Module: wine Branch: master Commit: 9bcdc46e9d70a6303ad70c793c96673def38214a URL: http://source.winehq.org/git/wine.git/?a=commit;h=9bcdc46e9d70a6303ad70c793c...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Apr 10 14:47:44 2008 +0200
comctl32: Get rid of the hack to remove size grips on managed windows.
---
dlls/comctl32/status.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/comctl32/status.c b/dlls/comctl32/status.c index e704635..464e650 100644 --- a/dlls/comctl32/status.c +++ b/dlls/comctl32/status.c @@ -984,12 +984,6 @@ STATUSBAR_WMCreate (HWND hwnd, const CREATESTRUCTA *lpCreate) dwStyle = GetWindowLongW (hwnd, GWL_STYLE); /* native seems to clear WS_BORDER, too */ dwStyle &= ~WS_BORDER; - - /* statusbars on managed windows should not have SIZEGRIP style */ - if ((dwStyle & SBARS_SIZEGRIP) && lpCreate->hwndParent && - GetPropA( lpCreate->hwndParent, "__wine_x11_managed" )) - dwStyle &= ~SBARS_SIZEGRIP; - SetWindowLongW (hwnd, GWL_STYLE, dwStyle);
if ((hdc = GetDC (hwnd))) {