kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38716
Re: Issue with wxWidgets 3.1.2 - MSW. Need GAL gurus help.
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
Follow ups
References