[wxPython-users] 2.8.1.1 icon problems on OS X
Daniel Graham
daniel.graham at duke.edu
Mon Jan 29 14:32:55 PST 2007
I'm sorry I didn't make myself clearer. The behavior I expected was for
wx.ICON_INFORMATION, wx.ICON_ERROR, wx.ICON_WARNING and so forth to produce different
icons in wx.MessageDialog. This is still the behavior for 2.8.1.1 under Linux and I'm
virtually certain was the behavior under OS-X until the last upgrade. Now all produce
the same icon, either the rocket when run from the command line or the message pole
when run from the bundled demo. I'm wondering how to get the Linux behavior under
OS-X.
Thanks,
Dan
On 2007-01-29 at 3:22 PM, Robin Dunn wrote:
> 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.
>
--
Daniel A. Graham
Department of Economics
Duke University
Durham, NC 27708-0097
(919) 660-1802
More information about the wxpython-users
mailing list