summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_ini.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-19 17:01:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-19 17:01:50 +0000
commit638ccde5cf7428b75d0de5c0254ce07261085fee (patch)
tree830e697eb0904c50abe41ba66c4b57ff5e903196 /protocols/Weather/weather_ini.cpp
parent394540126b181982d8b61d07a084ceeac8559ed1 (diff)
button control moved to wParam everywhere
git-svn-id: http://svn.miranda-ng.org/main/trunk@483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_ini.cpp')
-rw-r--r--protocols/Weather/weather_ini.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Weather/weather_ini.cpp b/protocols/Weather/weather_ini.cpp
index 6273ecad50..c533ed9bc4 100644
--- a/protocols/Weather/weather_ini.cpp
+++ b/protocols/Weather/weather_ini.cpp
@@ -548,10 +548,10 @@ INT_PTR CALLBACK DlgProcSetup(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
TranslateDialogDefault(hwndDlg);
// make the buttons flat
- SendMessage(GetDlgItem(hwndDlg,IDC_STEP1), BUTTONSETASFLATBTN, 0, 0);
- SendMessage(GetDlgItem(hwndDlg,IDC_STEP2), BUTTONSETASFLATBTN, 0, 0);
- SendMessage(GetDlgItem(hwndDlg,IDC_STEP3), BUTTONSETASFLATBTN, 0, 0);
- SendMessage(GetDlgItem(hwndDlg,IDC_STEP4), BUTTONSETASFLATBTN, 0, 0);
+ SendMessage(GetDlgItem(hwndDlg,IDC_STEP1), BUTTONSETASFLATBTN, TRUE, 0);
+ SendMessage(GetDlgItem(hwndDlg,IDC_STEP2), BUTTONSETASFLATBTN, TRUE, 0);
+ SendMessage(GetDlgItem(hwndDlg,IDC_STEP3), BUTTONSETASFLATBTN, TRUE, 0);
+ SendMessage(GetDlgItem(hwndDlg,IDC_STEP4), BUTTONSETASFLATBTN, TRUE, 0);
// set icons
SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadIconEx("main", TRUE));