summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/statistic.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-11 18:30:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-11 18:30:49 +0000
commit009c7a01b9399f14be5c85b9343c3063b12e5c7e (patch)
tree1c0396712141c4b79f2a8478d19bc1d15321bf11 /plugins/HistoryStats/src/statistic.cpp
parent5dffb8d954968e1bd715bc62d0e3d51d5afb67c4 (diff)
SetWindowLong -> SetWindowLongPtr;
GetWindowLong -> GetWindowLongPtr; LONG -> LONG_PTR git-svn-id: http://svn.miranda-ng.org/main/trunk@8559 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/statistic.cpp')
-rw-r--r--plugins/HistoryStats/src/statistic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/statistic.cpp b/plugins/HistoryStats/src/statistic.cpp
index 0a8e8b4a35..134781c888 100644
--- a/plugins/HistoryStats/src/statistic.cpp
+++ b/plugins/HistoryStats/src/statistic.cpp
@@ -287,7 +287,7 @@ void Statistic::handleAddChat(Contact& contact, bool bOutgoing, DWORD localTimes
INT_PTR CALLBACK Statistic::staticProgressProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- Statistic* pStats = reinterpret_cast<Statistic*>(GetWindowLong(hDlg, GWLP_USERDATA));
+ Statistic* pStats = reinterpret_cast<Statistic*>(GetWindowLongPtr(hDlg, GWLP_USERDATA));
switch (msg) {
case WM_INITDIALOG:
@@ -1255,7 +1255,7 @@ bool Statistic::createStatistics()
return false;
}
- SetWindowLong(m_hWndProgress, GWLP_USERDATA, reinterpret_cast<LONG>(this));
+ SetWindowLongPtr(m_hWndProgress, GWLP_USERDATA, reinterpret_cast<LONG>(this));
// Init progress dialog.
utils::centerDialog(m_hWndProgress);