← Back to team overview

kicad-developers team mailing list archive

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

 

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


Follow ups

References