← Back to team overview

kicad-developers team mailing list archive

wxScrolledWindow on OS X

 

Hi all,

I have a set of changes that I've been maintaining locally for my kicad builds that add support for trackpad gestures for panning and zooming on OSX, and generally improving the usabilitiy of a trackpad or mousewheel with kicad on this platform.

In trying to clean these up to be less platform specific, I ran into an issue with wxWidgets on (at least) OS X where a wxScrolledWindow processes scrollwin events no matter what, even if the event is already processed by client code.  This can cause panning to happen in both directions simultaneously when using the mousewheel on OS X.   I beat my head against this for a bit before I realized it was deep in a wxWidgets handler and not kicad.  Fortunately there’s a simple fix for this sitting on wxWidgets trunk that I applied and it does resolve the issue.  This affects the current product series on OS X.  Does this not impact Linux and Windows?

Since we’re applying patches for OS X anyway, seems like this fix should be included.


Garth


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Follow ups