summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderFinance.cpp
diff options
context:
space:
mode:
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);