seems to work
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@677 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
73646dce99
commit
fef5fceea9
7 changed files with 90 additions and 11 deletions
|
|
@ -19,7 +19,7 @@ extern "C" {
|
|||
MWDECL MwClass MwComboBoxClass;
|
||||
|
||||
/*!
|
||||
* @brief Adds the entry to ComboBox
|
||||
* @brief Adds the entry to combobox
|
||||
* @param handle Widget
|
||||
* @param index Index
|
||||
* @param text Text
|
||||
|
|
@ -28,6 +28,19 @@ MwInline void MwComboBoxAdd(MwWidget handle, int index, const char* text) {
|
|||
MwVaWidgetExecute(handle, "mwComboBoxAdd", NULL, index, text);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets the entry from combobox
|
||||
* @param handle Widget
|
||||
* @param index Index
|
||||
* @return Text
|
||||
*/
|
||||
MwInline const char* MwComboBoxGet(MwWidget handle, int index) {
|
||||
const char* text;
|
||||
MwVaWidgetExecute(handle, "mwComboBoxGet", (void*)&text, index);
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue