2.8.1.1 icon problems on OS X

Daniel Graham wrote:

Standard icons, e.g., wx.ICON_INFORMATION, no longer work after I upgraded from wx
2.8.0.1 to 2.8.1.1 on OS X 10.4. For example, when I run MessageDialog in
wxPythonDemo.app, the appropriate 'message pole' icon is displayed. But when I run
MessageDialog.py from the command line, a default, 'rocket' icon is displayed instead
of the 'message pole' icon.

The standard native behavior on OSX for wx.MessageBox is to show the application's icon. In the demo.app that is the message-pole (although what is shown in the dock is different because it is using a wx.TaskBarIcon) but when you are running without a specific application bundle then the system uses Python.app's application bundle and it's icon (the rocket) is what is shown in the dock and in message dialogs. So in other words, what you are seeing is what is intended, and is also what I expect was happening in 2.8.0.1 as well.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!