← Back to team overview

kicad-developers team mailing list archive

Re: OS X: pinch-to-zoom support for wxWidgets 3.1

 

It is an oddly named macro who’s intent is not clear from the name.

> On Jan 18, 2016, at 3:14 PM, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:
> 
> Aha ok, I see, I guess I should have tried to look up the doc for that then.
> 
> 2016-01-19 0:04 GMT+01:00 Garth Corral <gcorral@xxxxxxxxx>:
>> wxCHECK_VERSION
>> 
>> bool wxCHECK_VERSION(major, minor, release)
>> 
>> This is a macro which evaluates to true if the current wxWidgets version is
>> at least major.minor.release.
>> 
>> 
>> On Jan 18, 2016, at 12:42 PM, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:
>> 
>> Mmm, I think this patch looks a bit wierd. It is quite possible that I
>> just don't know what exactly the issues are with this stuff on OS X,
>> but why do just add a check specifically for wx 3.1.0? What about
>> never wx versions?
>> 
>> 2016-01-17 22:00 GMT+01:00 Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx>:
>> 
>> Hi,
>> 
>> current mainline pinch-to-zoom support on OS X only works with a patched
>> wxWidgets 3.0.
>> Pinch-to-zoom support now officially has arrived in wxWidgets master/3.1.
>> The attached patch also adds support for pinch-to-zoom with official
>> (unpatched) wxWidgets master/3.1.
>> It should be safe for all platforms, because according to the documentation
>> the new wxEVT_MAGNIFY event is only generated on OS X.
>> 
>> 
>> Regards,
>> Bernhard
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> 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
>> 
>> 
>> _______________________________________________
>> 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
>> 
>> 
> 
> _______________________________________________
> 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



References