← Back to team overview

kicad-developers team mailing list archive

Re: OS X trackpad

 

I'm going to guess that you're trying to compile wxWidgets 3.0.2 on 10.10.  I think someone posted a patch to the list for this the other day.  You can try to find that or fall back to 3.0.1.

Garth

> On Oct 31, 2014, at 1:31 PM, Mike Crawford <mike@xxxxxxxxxxx> wrote:
> 
> So, trying to build the wxWidgets, I'm getting the following error:
> ../wx-src/src/osx/webview_webkit.mm:936:25: error: cannot initialize a variable
>       of type 'WebBackForwardList *' with an rvalue of type
>       'WKBackForwardList *'
>     WebBackForwardList* history = [m_webView backForwardList];
>                         ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../wx-src/src/osx/webview_webkit.mm:954:25: error: cannot initialize a variable
>       of type 'WebBackForwardList *' with an rvalue of type
>       'WKBackForwardList *'
>     WebBackForwardList* history = [m_webView backForwardList];
>                         ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Any insights to this?  I don't know enough objc to know what's going on here.
> 
> 
>> On Fri Oct 31 2014 at 10:45:59 AM Garth Corral <gcorral@xxxxxxxxx> wrote:
>> 
>> Hi, all
>> 
>> I’ve pushed a branch containing some changes that I use to make kicad more livable for me on OS X.  This is mostly for Apple Magic Trackpad users, but I’d be curious to hear from mousewheel users on OS X, or even Linux and Windows users if they were inclined to try out these changes.
>> 
>> The changes are basically in two parts.  The first is optional and requires an additional patch to wxWidgets on OS X, and that kicad be compiled with a feature macro turned on (updated instructions in compiling/mac-osx.txt).  This enables pinch-to-zoom.
>> 
>> The rest does not require any changes in the way things are built.  This adds a preference for the default mousewheel function and changes the way panning is done; It does not change the way mousewheel zooming behaves (but perhaps should).
>> 
>> For best results on a trackpad I recommend compiling with the pinch-to-zoom support and checking “Use mousewheel to pan” in the preferences of the various apps.
>> 
>> If you’re a Mac trackpad user and have a spare few moments, please give these changes a try and let me know how they work for you.  They’re in lp:~gcorral/kicad/osx-trackpad-gestures
>> 
>> 
>> Thanks in advance,
>> 
>> Garth
>> 
>> 
>> _______________________________________________
>> 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