1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-14 04:45:57 +01:00

Better behavior for the multiple selection in lists.

This commit is contained in:
dan
2000-10-02 11:43:28 +00:00
parent 7cf93ae49d
commit 399439d338
2 changed files with 40 additions and 25 deletions

View File

@@ -130,10 +130,6 @@ doubleClick(WMWidget *self, void *data)
char buf[255];
WMSelectAllListItems(lPtr);
//sprintf(buf, "Selected items: %d",
// WMGetArrayItemCount(WMGetListSelectedItems(lPtr)));;
//WMSetLabelText(label, buf);
}
@@ -145,7 +141,7 @@ listSelectionObserver(void *observer, WMNotification *notification)
char buf[255];
sprintf(buf, "Selected items: %d",
WMGetArrayItemCount(WMGetListSelectedItems(lPtr)));;
WMGetArrayItemCount(WMGetListSelectedItems(lPtr)));
WMSetLabelText(label, buf);
}