This is followup for:
Since Lion does not come with wxWidgets 2.8, I have received number of requests to check & provide means for compiling gnuplot wxt for Lion and wxWidgets 2.9 that uses 64-bit Cocoa, instead of 32-bit only depreciated Carbon.
Attaching here patch that solves number of issues compiling and running wxt with wx 2.9 using 64-bit Cocoa on Lion:
(1) using wxToolbar AddSeparator causes crash on Realize because Lion depreciated separators see: http://trac.wxwidgets.org/ticket/13363
(2) wx Cocoa does not support logical operators such as wxDC inverse
(3) wx Cocoa toolbar icons are blurry unless they are 24x24
(4) wx Cocoa does not define _Bool even it says it does, which is causing compilation errors
NOTE: wxWidgets 2.9 are still considered unstable and Cocoa port is not yet finished, however this patch should have no influence on other platforms since it uses #ifdef __WXOSX_COCOA__
gnuplot may be built just with "./configure" no extra params are necessary
Installed via macports:
My wxWidgets 2.9 Coca were built with:
../../configure --with-osx_cocoa --disable-shared --enable-monolithic --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk --with-macosx-version-min=10.6 --with-libiconv-prefix=/opt/local
Log in to post a comment.