1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 21:04:18 +01:00

- Fixed a bug in popup button code.

- Added functions to allow the color of the text in buttons to be specified.
This commit is contained in:
dan
2000-01-05 22:02:22 +00:00
parent d5f177fe66
commit dba6e4d2d0
4 changed files with 95 additions and 22 deletions

View File

@@ -93,6 +93,8 @@ WMCreatePopUpButton(WMWidget *parent)
bPtr->items = WMCreateBag(4);
bPtr->selectedItemIndex = -1;
bPtr->menuView = W_CreateTopView(scr);
bPtr->menuView->attribs.override_redirect = True;
bPtr->menuView->attribFlags |= CWOverrideRedirect;