Hi,

FYI… I guess this is only OS X related.

Yesterday I wanted to use the Pin Table for the first time and it always crashes the Library Editor.
After some debugging I am pretty sure that this is a bug in the OS X implementation of wxDataViewCtrl if using wx[V|H]SCROLL when creating it.
Did the Pin Table ever work for somebody on OS X (I guess it never did)?

I already filed a bug report for wxWidgets (still under moderation, so it doesn’t show up yet).
I don’t know how long this will take, so attached a fix/workaround that did it for me (for anyone interested, maybe Adam?).

The only possible workaround in KiCad seems to be to remove the wxVSCROLL from
m_Pins = new wxDataViewCtrl( this, wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxDV_HORIZ_RULES|wxDV_MULTIPLE|wxDV_ROW_LINES|wxDV_VERT_RULES|wxVSCROLL ); 
In my tests OS X doesn’t seem to need this (scroll bars are dynamically shown when needed even without this flag).
But, I don’t know about other platforms and this piece of code probably can’t be #ifdef’d because this is generated code from wxFormBuilder?


Regards,
Bernhard

Attachment: wxWidgets_dataview_crash.patch
Description: Binary data

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to