[wxPython-users] dialog icon bug -- mac os 10.4.7
Robin Dunn
robin at alldunn.com
Mon Apr 23 13:07:22 PDT 2007
7stud wrote:
> Hi,
>
> wx.ICON_QUESTION
> produces an exclamation icon.
Not sure what is going on here... Please enter a bug report about it
with a category of wxMac Specific.
>
> wx.ICON_EXCLAMATION,
> wx.ICON_INFORMATION,
> wx.ICON_ERROR
> produce a generic python icon.
If you put your app in an application bundle then it will display the
bundle's icon. That is how Apple dictates that message dialogs should
behave. If you look closely you'll see a small version of the app icon
overlaid on the system exclamation icon too.
BTW, if you want to make a custom message dialog that looks and acts
more like the other platforms there is some code in the Main.py demo
module that can help you get started. Look at the MessagePanel class.
Just keep in mind that it won't look normal to Mac users.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list