diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-08 21:02:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-08 21:02:06 +0000 |
commit | 2840393bf5378c012577c4764dc4cbd162f85d4e (patch) | |
tree | 257a83be6f650415d8b47bb982b0bc700e6c9f8c /plugins/ContactsPlus/send.cpp | |
parent | d0ffabed30e05f6dc56e2e5231637f333bc16003 (diff) |
GetWindowLong -> GetWindowLongPtr
git-svn-id: http://svn.miranda-ng.org/main/trunk@364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContactsPlus/send.cpp')
-rw-r--r-- | plugins/ContactsPlus/send.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ContactsPlus/send.cpp b/plugins/ContactsPlus/send.cpp index cebc2cb00d..3ea997b0dd 100644 --- a/plugins/ContactsPlus/send.cpp +++ b/plugins/ContactsPlus/send.cpp @@ -253,7 +253,7 @@ static void SetAllContactChecks(HWND hwndList, HANDLE hReceiver) // doubtful nam INT_PTR CALLBACK SendDlgProc( HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- TSendContactsData* wndData = (TSendContactsData*)GetWindowLong(hwndDlg, DWLP_USER);
+ TSendContactsData* wndData = (TSendContactsData*)GetWindowLongPtr(hwndDlg, DWLP_USER);
switch (msg)
{
@@ -265,7 +265,7 @@ INT_PTR CALLBACK SendDlgProc( HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar SetAllContactChecks(GetDlgItem(hwndDlg,IDC_LIST), (HANDLE)lParam);
WindowList_Add(ghSendWindowList, hwndDlg, (HANDLE)lParam);
wndData = new TSendContactsData((HANDLE)lParam);
- SetWindowLong(hwndDlg, DWLP_USER, (LONG)wndData);
+ SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG)wndData);
// new dlg init
wndData->hIcons[0] = InitMButton(hwndDlg, IDC_ADD, MAKEINTRESOURCEA(IDI_ADDCONTACT), "Add Contact Permanently to List");
wndData->hIcons[1] = InitMButton(hwndDlg, IDC_DETAILS, MAKEINTRESOURCEA(IDI_USERDETAILS), "View User's Details");
|