mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-21 17:25:46 +01:00
- Fixed some issues with WMBrowser and the file panel that were
introduced by the latest changes in the WMList code (multiple and empty selection). - added WMSetBrowserAllowMultipleSelection(), WMSetBrowserAllowEmptySelection() WMBrowserAllowsMultipleSelection() and WMBrowserAllowsEmptySelection().
This commit is contained in:
@@ -183,6 +183,7 @@ testList(WMScreen *scr)
|
||||
WMSetLabelText(mtitle, "Multiple selection list");
|
||||
|
||||
list = WMCreateList(win);
|
||||
//WMSetListAllowEmptySelection(list, True);
|
||||
WMMoveWidget(list, 10, 40);
|
||||
for (i=0; i<50; i++) {
|
||||
sprintf(text, "Item %i", i);
|
||||
@@ -190,6 +191,7 @@ testList(WMScreen *scr)
|
||||
}
|
||||
mlist = WMCreateList(win);
|
||||
WMSetListAllowMultipleSelection(mlist, True);
|
||||
//WMSetListAllowEmptySelection(mlist, True);
|
||||
WMMoveWidget(mlist, 210, 40);
|
||||
for (i=0; i<135; i++) {
|
||||
sprintf(text, "Item %i", i);
|
||||
|
||||
Reference in New Issue
Block a user