kicad-developers team mailing list archive
Mailing list archive
Re: Issue with wxWidgets 3.1.2 - MSW. Need GAL gurus help.
Probably this commit in wxwidgets, affects submenu item events.
On Fri, Dec 21, 2018 at 2:25 PM jp charras <jp.charras@xxxxxxxxxx> wrote:
> Le 21/12/2018 à 20:22, jp charras a écrit :
> > I very recently updated wxWidgets from 3.1.1 to 3.1.2
> > I ran into a problem with Pcbnew and Gerbview (Not eeschema, that has a
> > different event handler):
> > The context menus Zoom selection and Grid Selection are no longer
> > working (and presumably any other context submenu).
> > I had a look into this issue (MSW specific).
> > The 3.1.1 and the 3.1.2 have different behaviors.
> > The attached patch fixes this issue.
> > However I do not understand this code in context_menu.cpp line 361:
> > if( menu && menu != this )
> > The condition " && menu != this" is the culprit:
> > in wxWidgets 3.1.2, menu == this happens always.
> > in wxWidgets 3.1.2, menu == this happens never.
> ^3.1.1 of course
> Jean-Pierre CHARRAS
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp