From f6e0db0590e2f8feeacc29d4e50007fbe358f9d5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 19 Jul 2012 22:07:11 +0000 Subject: valid DlgProc declarations git-svn-id: http://svn.miranda-ng.org/main/trunk@1060 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MyDetails/mydetails.cpp | 6 +++--- plugins/MyDetails/options.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/MyDetails') diff --git a/plugins/MyDetails/mydetails.cpp b/plugins/MyDetails/mydetails.cpp index cf93e02065..8081940619 100644 --- a/plugins/MyDetails/mydetails.cpp +++ b/plugins/MyDetails/mydetails.cpp @@ -241,7 +241,7 @@ static int MainUninit(WPARAM wParam, LPARAM lParam) #define WMU_SETDATA (WM_USER+1) -static LRESULT CALLBACK DlgProcSetNickname(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +static INT_PTR CALLBACK DlgProcSetNickname(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { switch ( msg ) { case WM_INITDIALOG: @@ -361,7 +361,7 @@ static INT_PTR PluginCommand_SetMyNicknameUI(WPARAM wParam,LPARAM lParam) if ( !nickname_dialog_open) { InterlockedExchange(&nickname_dialog_open, 1); - hwndSetNickname = CreateDialog(hInst, MAKEINTRESOURCE( IDD_SETNICKNAME ), NULL, DlgProcSetNickname ); + hwndSetNickname = CreateDialog(hInst, MAKEINTRESOURCE( IDD_SETNICKNAME ), NULL, DlgProcSetNickname); SendMessage(hwndSetNickname, WMU_SETDATA, proto_num, 0); } @@ -555,7 +555,7 @@ struct SetStatusMessageData { int proto_num; }; -static LRESULT CALLBACK DlgProcSetStatusMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +static INT_PTR CALLBACK DlgProcSetStatusMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { switch (msg) { case WM_INITDIALOG: diff --git a/plugins/MyDetails/options.cpp b/plugins/MyDetails/options.cpp index 10f3823c0b..a8cf27ead3 100644 --- a/plugins/MyDetails/options.cpp +++ b/plugins/MyDetails/options.cpp @@ -72,7 +72,7 @@ void LoadOptions() RefreshFrameAndCalcRects(); } -static LRESULT CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { BOOL ret = SaveOptsDlgProc(pageControls, SIZEOF(pageControls), MODULE_NAME, hwndDlg, msg, wParam, lParam); -- cgit v1.2.3