Hey Stefan,

Ah indeed, I overlooked this feature. I'll see what is the best solution !

Regards,
koen


2013/2/27 Stefan Ruppert <s...@myarm.com>

> Hi Koen,
>
> now clicking on the checkbox works. But clicking on the menu text still
> does not trigger a change! I've attached a patch which implements a
> toggling if clicked on the text!
>
> Regards,
> Stefan
>
> Am 26.02.2013 22:12, schrieb Koen Deforche:
>
>> Hey Stefan,
>>
>> Indeed, this must be a consequence of merging WPopupMenuItem with
>> WMenuItem. I've fixed it in my git copy.
>>
>> Regards,
>> koen
>>
>>
>> 2013/2/26 Stefan Ruppert <s...@myarm.com <mailto:s...@myarm.com>>
>>
>>
>>     Hi,
>>
>>     I have just noticed that a checkable WPopupMenuItem does not trigger
>> the
>>     action anymore.
>>
>>     WPopupMenu * popup = new Wt::WPopupMenu()
>>     WPopupMenuItem* item = popup->addItem(text);
>>     item->setCheckable(true);
>>     item->setChecked(true);
>>
>>     When I hit the text of the popup item nothing happens.
>>     When I hit the checkbox it is unchecked but the connected slot is not
>>     called.
>>     When I hit the text again then the new state of the checkbox is
>>     propagated to the connected slot!
>>
>>     Regards,
>>     Stefan
>>
>>     ------------------------------**------------------------------**
>> ------------------
>>     Everyone hates slow websites. So do we.
>>     Make your web apps faster with AppDynamics
>>     Download AppDynamics Lite for free today:
>>     http://p.sf.net/sfu/appdyn_**d2d_feb<http://p.sf.net/sfu/appdyn_d2d_feb>
>>     ______________________________**_________________
>>     witty-interest mailing list
>>     
>> witty-interest@lists.**sourceforge.net<witty-interest@lists.sourceforge.net>
>>     
>> <mailto:witty-interest@lists.**sourceforge.net<witty-interest@lists.sourceforge.net>
>> >
>>     
>> https://lists.sourceforge.net/**lists/listinfo/witty-interest<https://lists.sourceforge.net/lists/listinfo/witty-interest>
>>
>>
>>
>>
>>
>> ------------------------------**------------------------------**
>> ------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_**d2d_feb <http://p.sf.net/sfu/appdyn_d2d_feb>
>>
>>
>>
>> ______________________________**_________________
>> witty-interest mailing list
>> witty-interest@lists.**sourceforge.net<witty-interest@lists.sourceforge.net>
>> https://lists.sourceforge.net/**lists/listinfo/witty-interest<https://lists.sourceforge.net/lists/listinfo/witty-interest>
>>
>>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to