forked from pyrite-dev/milsko
listbox rewrite done
This commit is contained in:
parent
a666010564
commit
55c562645a
6 changed files with 77 additions and 32 deletions
|
|
@ -125,7 +125,7 @@ static void click(MwWidget handle) {
|
|||
MwLLSetCursor(((MwListBox)cb->listbox->internal)->frame->lowlevel, &MwCursorArrow, &MwCursorArrowMask);
|
||||
|
||||
for(i = 0; i < arrlen(cb->list); i++) {
|
||||
MwListBoxInsert(cb->listbox, -1, 0, cb->list[i]);
|
||||
MwListBoxSet(cb->listbox, -1, 0, cb->list[i]);
|
||||
}
|
||||
|
||||
MwAddUserHandler(cb->listbox, MwNlistBoxActivateHandler, listbox_activate, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue