1
edit
Changes
→CMenu and MNode: made selectedIndex const
int edit();
void set(const void* data);
int selectedIndex()const;
int selectedIndex(int index);
const char* selectedText();
Sets the selected index to the integer pointed by data;
<big><syntaxhighlight lang = "cpp">
int selectedIndex()const;
</syntaxhighlight></big>
returns the selected index or -1 if nothing is selected