From d80f04c021b0e0e7b87d882cd86a0897c1c0c364 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Fri, 18 Jun 2004 17:05:44 +0000 Subject: [PATCH] adjustments for GCC 3.4 svn path=/branches/lean-explorer/; revision=9710 --- reactos/subsys/system/explorer/utility/window.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/subsys/system/explorer/utility/window.h b/reactos/subsys/system/explorer/utility/window.h index acf09c52be3..261474df01b 100644 --- a/reactos/subsys/system/explorer/utility/window.h +++ b/reactos/subsys/system/explorer/utility/window.h @@ -484,11 +484,11 @@ template struct ResizeController : public BASE virtual void GetClientSpace(PRECT prect) { - if (!IsIconic(_hwnd)) { - GetClientRect(_hwnd, prect); + if (!IsIconic(this->_hwnd)) { + GetClientRect(this->_hwnd, prect); } else { WINDOWPLACEMENT wp; - GetWindowPlacement(_hwnd, &wp); + GetWindowPlacement(this->_hwnd, &wp); prect->left = prect->top = 0; prect->right = wp.rcNormalPosition.right-wp.rcNormalPosition.left- 2*(GetSystemMetrics(SM_CXSIZEFRAME)+GetSystemMetrics(SM_CXEDGE)); @@ -572,7 +572,7 @@ template struct OwnerDrawParent : public BASE switch(nmsg) { case WM_DRAWITEM: if (wparam) { // should there be drawn a control? - HWND hctl = GetDlgItem(_hwnd, wparam); + HWND hctl = GetDlgItem(this->_hwnd, wparam); if (hctl) return SendMessage(hctl, PM_DISPATCH_DRAWITEM, wparam, lparam);