summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgoption.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-24 21:11:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-24 21:11:51 +0000
commit6828926a4d4eefef4632e97646f639c8ec24d0ab (patch)
tree01747ba326526e69b4d64df3416acfe0ca6d9446 /plugins/HistoryStats/src/dlgoption.cpp
parentd41cb4808c648d458be7615d6a72003e3614538d (diff)
HistoryStats project conversion
git-svn-id: http://svn.miranda-ng.org/main/trunk@13110 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgoption.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/dlgoption.cpp b/plugins/HistoryStats/src/dlgoption.cpp
index 68e93fe56e..b164d29319 100644
--- a/plugins/HistoryStats/src/dlgoption.cpp
+++ b/plugins/HistoryStats/src/dlgoption.cpp
@@ -1,4 +1,4 @@
-#include "_globals.h"
+#include "stdafx.h"
#include "dlgoption.h"
#include "bandctrl.h"
@@ -9,7 +9,7 @@
* DlgOption
*/
-INT_PTR CALLBACK DlgOption::staticDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK DlgOption::staticDlgProc(HWND hDlg, UINT msg, WPARAM, LPARAM lParam)
{
DlgOption* pDlg = reinterpret_cast<DlgOption*>(GetWindowLongPtr(hDlg, DWLP_USER));
@@ -43,7 +43,7 @@ INT_PTR CALLBACK DlgOption::staticDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LP
pDlg->onBandClicked(pNM->hButton, pNM->dwData);
}
- else if (p->code == BandCtrl::BCN_DROPDOWN) {
+ else if (p->code == BandCtrl::BCN_DROP_DOWN) {
BandCtrl::NMBANDCTRL* pNM = reinterpret_cast<BandCtrl::NMBANDCTRL*>(lParam);
pDlg->onBandDropDown(pNM->hButton, pNM->dwData);