diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-12 13:26:44 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-12 13:26:44 +0000 |
commit | 263990471dfd375089cf7044d660a0aec62c5fb8 (patch) | |
tree | 74890cae94eee37102c8cf343a1f83bcfe9ff050 /plugins/Clist_modern/src/modern_tbbutton.cpp | |
parent | 5aca7788f891521104f8bed712672af236465cc1 (diff) |
Some fixes for x64: SetWindowLong -> SetWindowLongPtr, GetWindowLong -> GetWindowLongPtr
git-svn-id: http://svn.miranda-ng.org/main/trunk@8572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_tbbutton.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_tbbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_tbbutton.cpp b/plugins/Clist_modern/src/modern_tbbutton.cpp index f7cc630d3b..d22cf76aab 100644 --- a/plugins/Clist_modern/src/modern_tbbutton.cpp +++ b/plugins/Clist_modern/src/modern_tbbutton.cpp @@ -428,8 +428,8 @@ static LRESULT CALLBACK ToolbarButtonProc(HWND hwndDlg, UINT msg, WPARAM wParam return 1;
case MBM_UPDATETRANSPARENTFLAG:
- LONG flag = GetWindowLongPtr(hwndDlg, GWL_EXSTYLE);
- LONG oldFlag = flag;
+ LONG_PTR flag = GetWindowLongPtr(hwndDlg, GWL_EXSTYLE);
+ LONG_PTR oldFlag = flag;
if (lParam == 2)
lParam = (g_CluiData.fDisableSkinEngine) ? 0 : 1;
flag &= ~WS_EX_TRANSPARENT;
|