diff options
author | drevil_xxl <drevil_xxl@users.sourceforge.net> | 2008-06-07 23:59:48 +0400 |
---|---|---|
committer | drevil_xxl <drevil_xxl@users.sourceforge.net> | 2008-06-07 23:59:48 +0400 |
commit | e69abd2b5d479fb3ec0dc9093508a74f8c785b60 (patch) | |
tree | 33dc83db2d35887c6ef7be2bca4f3c78f142c060 /src/ui | |
parent | 9f8c1ce08a2ba5d7cce81051164c2c9ec213e20e (diff) |
updates for x64
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@555 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ResizableLib/ResizableLayout.cpp | 2 | ||||
-rw-r--r-- | src/ui/sizecbar/sizecbar.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ResizableLib/ResizableLayout.cpp b/src/ui/ResizableLib/ResizableLayout.cpp index 8d7a4d7a9..15e140ebe 100644 --- a/src/ui/ResizableLib/ResizableLayout.cpp +++ b/src/ui/ResizableLib/ResizableLayout.cpp @@ -273,7 +273,7 @@ void CResizableLayout::EraseBackground(CDC* pDC) else
{
// take the background brush from the window's class
-#ifdef _WIN64
+#ifdef WIN64
hBrush = (HBRUSH)::GetClassLongPtr(hWnd, GCLP_HBRBACKGROUND);
#else
hBrush = (HBRUSH)::GetClassLongPtr(hWnd, GCL_HBRBACKGROUND);
diff --git a/src/ui/sizecbar/sizecbar.cpp b/src/ui/sizecbar/sizecbar.cpp index 8cb8d7157..6f3a8fb43 100644 --- a/src/ui/sizecbar/sizecbar.cpp +++ b/src/ui/sizecbar/sizecbar.cpp @@ -532,7 +532,7 @@ void CSizingControlBar::OnNcPaint() DrawBorders(&mdc, rcDraw);
// erase the NC background
-#ifdef _WIN64
+#ifdef WIN64
mdc.FillRect(rcDraw, CBrush::FromHandle(
(HBRUSH) GetClassLong(m_hWnd, GCLP_HBRBACKGROUND)));
#else
|