summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderFinance.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 22:20:52 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 22:20:52 +0000
commit47c19f7007a24ccf7e4be993255e36baff65b4ca (patch)
treeb5a6f74d11446c7a66088334b3e566b07305c0c1 /plugins/Quotes/src/QuotesProviderFinance.cpp
parent86ecbad7907401648a49139d196559a2d27ec53a (diff)
SendMessage(GetDlgItem -> SendDlgItemMessage 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@11384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/QuotesProviderFinance.cpp')
-rw-r--r--plugins/Quotes/src/QuotesProviderFinance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Quotes/src/QuotesProviderFinance.cpp b/plugins/Quotes/src/QuotesProviderFinance.cpp
index 0b586985ed..97fa950de3 100644
--- a/plugins/Quotes/src/QuotesProviderFinance.cpp
+++ b/plugins/Quotes/src/QuotesProviderFinance.cpp
@@ -225,7 +225,7 @@ namespace
case IDC_LIST_RATES:
if(CBN_SELCHANGE == HIWORD(wParam))
{
- int nSel = ::SendMessage(::GetDlgItem(hDlg,IDC_LIST_RATES),LB_GETCURSEL,0,0);
+ int nSel = ::SendDlgItemMessage(hDlg, IDC_LIST_RATES, LB_GETCURSEL, 0, 0);
::EnableWindow(::GetDlgItem(hDlg,IDC_BUTTON_REMOVE),(LB_ERR != nSel));
}
return (TRUE);