Post
Topic
Board Development & Technical Discussion
Re: Mac OS X universal build for testing
by
generica
on 21/04/2010, 17:03:54 UTC
Glad to hear someone besides me is interested in using Bitcoin on Mac OS Smiley

You know it!  Smiley

Quote
The way Satoshi wrote this, he is using a library called wxWidgets to make it a cross-platform application.  It allows the programmer to create kind of a lowest-common-denominator generic user interface and the library takes care of the native implementation like windows, GTK or Cocoa.  I'm not sure if it's possible to get rid of the 'Bitcoin' (leftmost) menu in a Cocoa app, but it bothers me too since it doesn't 'fit in' right like a real native Cocoa app.  I'll look into it though.

I think the trick is not to get rid of the "Bitcoin" menu but instead to make use of it, the way other Cocoa apps do.  As I mentioned, both the File and Settings menu can be moved into there eventually.  I have been doing some reading about wxwidgets and it appears that these issues I am seeing have more to do with how wxwidgets is used in the code rather than bitcoin itself.  Here is a link that explains how to integrate using the Apple standard menu hooks: http://wiki.wxwidgets.org/WxMac-specific_topics

If I was a more experienced developer I would delve into this, but I am at best a mid-level scripter... Tongue