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 /protocols/ICQ-WIM/src/options.cpp | |
parent | 383409527e474e83078178f5e80975b64fb5ffcf (diff) |
CCtrlCombo::GetCurData = suitable helper for combo boxes
Diffstat (limited to 'protocols/ICQ-WIM/src/options.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/options.cpp b/protocols/ICQ-WIM/src/options.cpp index 9272a5ef28..3191a92164 100644 --- a/protocols/ICQ-WIM/src/options.cpp +++ b/protocols/ICQ-WIM/src/options.cpp @@ -336,8 +336,8 @@ public: bool OnApply() override { if (cmbStatus1.GetHwnd()) { - m_proto->m_iStatus1 = cmbStatus1.GetItemData(cmbStatus1.GetCurSel()); - m_proto->m_iStatus2 = cmbStatus2.GetItemData(cmbStatus2.GetCurSel()); + m_proto->m_iStatus1 = cmbStatus1.GetCurData(); + m_proto->m_iStatus2 = cmbStatus2.GetCurData(); } return true; |