summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_gui.h')
-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);