diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-11 13:26:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-11 13:26:56 +0300 |
commit | 6bb048378e2b73c908f4512d9a925e736bd44fda (patch) | |
tree | 59fa9ffce6e00d82c3b6254b7e5d2cdcde3bdb89 /plugins/TabSRMM/src/sendlater.cpp | |
parent | 383409527e474e83078178f5e80975b64fb5ffcf (diff) |
CCtrlCombo::GetCurData = suitable helper for combo boxes
Diffstat (limited to 'plugins/TabSRMM/src/sendlater.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendlater.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/sendlater.cpp b/plugins/TabSRMM/src/sendlater.cpp index f2490ce868..c850592ec7 100644 --- a/plugins/TabSRMM/src/sendlater.cpp +++ b/plugins/TabSRMM/src/sendlater.cpp @@ -361,11 +361,8 @@ public: void onSelChange_filter(CCtrlCombo*)
{
- LRESULT lr = m_filter.GetCurSel();
- if (lr != CB_ERR) {
- m_hFilter = m_filter.GetItemData(lr);
- FillList();
- }
+ m_hFilter = m_filter.GetCurData();
+ FillList();
}
void onMenu_list(CCtrlListView::TEventInfo*)
|