diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-11 18:30:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-11 18:30:49 +0000 |
commit | 009c7a01b9399f14be5c85b9343c3063b12e5c7e (patch) | |
tree | 1c0396712141c4b79f2a8478d19bc1d15321bf11 /plugins/HistoryStats/src/dlgconfigure.cpp | |
parent | 5dffb8d954968e1bd715bc62d0e3d51d5afb67c4 (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/dlgconfigure.cpp')
-rw-r--r-- | plugins/HistoryStats/src/dlgconfigure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/dlgconfigure.cpp b/plugins/HistoryStats/src/dlgconfigure.cpp index 33af5a88b1..55382f7e32 100644 --- a/plugins/HistoryStats/src/dlgconfigure.cpp +++ b/plugins/HistoryStats/src/dlgconfigure.cpp @@ -20,13 +20,13 @@ INT_PTR CALLBACK DlgConfigure::staticConfigureProc(HWND hDlg, UINT msg, WPARAM w switch (msg) {
case WM_INITDIALOG:
pDlg = new DlgConfigure(hDlg);
- SetWindowLong(hDlg, DWLP_USER, reinterpret_cast<LONG>(pDlg));
+ SetWindowLongPtr(hDlg, DWLP_USER, reinterpret_cast<LONG_PTR>(pDlg));
pDlg->onWMInitDialog();
return TRUE;
case WM_DESTROY:
delete pDlg;
- SetWindowLong(hDlg, DWLP_USER, 0);
+ SetWindowLongPtr(hDlg, DWLP_USER, 0);
break;
case PSM_CHANGED:
|