I am using a WMenu with my own itemSelected signal callback. I can select
different items from my WMenu correctly. However, when I use the browser "back"
button, my item selection is not updated. I inherited my own MyWMenu from WMenu,
and can confirm that internalPathChanged is being called (of course, I then call
WMenu::internalPathChanged). I looked at WMenu.C, and saw

void WMenu::itemPathChanged(WMenuItem *item)
{
  if (internalPathEnabled_) {
    WApplication *app = wApp;

    if (app->internalPathMatches(basePath_ + item->pathComponent()))
      select(indexOf(item), false);
  }
}

Should the last line be

      select(indexOf(item), true);

?

Please forgive me if my understanding of internal paths is incorrect.

-Dave


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to