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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user