Hello,
The constructor of WMenuItem allows to pass a WWidget instance.
There are also (public) methods to remove this (takeContents). But i do not
find one to set or replace it.
Executing code like this:
--------------- cut -----------------
WMenuItem * item = new WMenuItem ("File");
item->setContents (new WText ("xxx");
--------------- cut -----------------
where setContents may be the name of a method i miss.
Is there are reason to not allow this ?
regards
Petric
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest