[wx 2.8.4, Mac OSX, gcc] wxTaskBarIcon sample problem?

John Zorko jmzorko at mac.com
Wed Jul 18 17:03:45 PDT 2007


Hello, all ...

I'm evaluating different cross-platform GUI toolkits for our app  
(which has to run on WIndows, Mac OSX and Linux).  I looked in the  
archives, but didn't find any mention of this issue (and I was  
expecting to).  I'm having trouble getting the taskbar sample  
building and running well on Mac OSX (10.4.10, Intel).  The issues are:

1. wxTaskBarIcon::IsIconInstalled() does not seem to be defined for  
the Cocoa version, yet the taskbar sample doesn't check for this  
(with an #ifdef).  I fixed this and got it to build by adding an  
#if ! defined (__WXCOCOA__)  around the relevant code (tbtest.cpp:  
165 I think).

2. even after doing this, the taskbar sample behaves badly on OSX  
(the dialog doesn't show the "Hide Me" and "Exit" buttons like it  
does on Windows, the menu item that the code puts in the OSX menu bar  
doesn't respond to mouse clicks).

I'm wondering if perhaps I built wxWidgets wrong (I used ./configure  
--with-cocoa --enable-static=yes --enable-shared=no), or is  
wxTaskBarIcon only kinda but not really supported on Mac OSX?

Regards,

John

Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com















More information about the wx-users mailing list