summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/optionsctrlimpl.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-11 19:30:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-11 19:30:22 +0000
commitfc4ce5a1e786192c86f14e9d99ad9b14eab201ef (patch)
tree1646925dea7adb0e366e8f08bf111c58e518b39c /plugins/HistoryStats/src/optionsctrlimpl.cpp
parent009c7a01b9399f14be5c85b9343c3063b12e5c7e (diff)
some GetWindowLong survived in HistoryStats...
git-svn-id: http://svn.miranda-ng.org/main/trunk@8560 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/optionsctrlimpl.cpp')
-rw-r--r--plugins/HistoryStats/src/optionsctrlimpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/optionsctrlimpl.cpp b/plugins/HistoryStats/src/optionsctrlimpl.cpp
index b986888864..748364bec8 100644
--- a/plugins/HistoryStats/src/optionsctrlimpl.cpp
+++ b/plugins/HistoryStats/src/optionsctrlimpl.cpp
@@ -14,7 +14,7 @@ int OptionsCtrlImpl::m_nStateIconsRef = 0;
LRESULT CALLBACK OptionsCtrlImpl::staticWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
- OptionsCtrlImpl* pCtrl = reinterpret_cast<OptionsCtrlImpl*>(GetWindowLong(hWnd, 0));
+ OptionsCtrlImpl* pCtrl = reinterpret_cast<OptionsCtrlImpl*>(GetWindowLongPtr(hWnd, 0));
switch (msg) {
case WM_NCCREATE:
@@ -262,7 +262,7 @@ LRESULT CALLBACK OptionsCtrlImpl::staticWndProc(HWND hWnd, UINT msg, WPARAM wPar
LRESULT CALLBACK OptionsCtrlImpl::staticTreeProc(HWND hTree, UINT msg, WPARAM wParam, LPARAM lParam)
{
- OptionsCtrlImpl* pCtrl = reinterpret_cast<OptionsCtrlImpl*>(GetWindowLong(GetParent(hTree), 0));
+ OptionsCtrlImpl* pCtrl = reinterpret_cast<OptionsCtrlImpl*>(GetWindowLongPtr(GetParent(hTree), 0));
switch (msg) {
case WM_LBUTTONDOWN: