1
0
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:
dan
2000-10-02 06:59:18 +00:00
parent b2478b634f
commit de99155948
6 changed files with 98 additions and 30 deletions

View File

@@ -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);