fix for wxOSX/Cocoa toolbar problem

see http://trac.wxwidgets.org/ticket/13888 and
https://trac.macports.org/attachment/ticket/41218/fityk.diff