summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-11 13:26:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-11 13:26:56 +0300
commit6bb048378e2b73c908f4512d9a925e736bd44fda (patch)
tree59fa9ffce6e00d82c3b6254b7e5d2cdcde3bdb89 /include
parent383409527e474e83078178f5e80975b64fb5ffcf (diff)
CCtrlCombo::GetCurData = suitable helper for combo boxes
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index 25bd775638..d5fd8ebf98 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -949,8 +949,11 @@ public:
bool OnApply() override;
void OnReset() override;
+ // returns item data associated with the selected item or -1
+ LPARAM GetCurData() const;
+
// selects line with userdata passed. returns index of this line or -1
- int SelectData(LPARAM data);
+ int SelectData(LPARAM data);
// Control interface
int AddString(const wchar_t *text, LPARAM data = 0);