← Back to team overview

kicad-developers team mailing list archive

Re: Issue with wxWidgets 3.1.2 - MSW. Need GAL gurus help.

 

https://github.com/wxWidgets/wxWidgets/commit/de5ba70203f18fde148c71495ab5ee5aab7540a3#diff-4111ab598488dcf6d66fd6a60418d56d

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
>
> Sorry.
>
> --
> 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
>


-- 
Mark

References