Hey Calvin,

2010/8/2 Calvin <[email protected]>:
> I have found that if there is only one last WMenuItem linked to a WMenu
> object, calling WMenu::removeItem() would fail as a result of the select
> call after removing that last WMenuItem. Is this the intended behaviour?

Certainly that would not be intended. If I understand correclty, you
are trying to remove the last item from a WMenu and that fails? With
the latest git that seems to work as expected though (but several
changes happened to WMenu since 3.1.3): the currentIndex simply
becomes -1.

With what version are you seeing the problem ? Dmitriy, do you
remember if you have fixed this ?

Regards,
koen

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to