Apologies if this has already been discussed or is well-known. I'm testing one of my wxPython apps on MacOS and Windows that was originally developed on Linux. I've noticed that for the wx.MessageDialog class that not all the bitmaps associated with the icon style flag are showing up on MacOS 10.5. So far, the only one I've seen work is wx.ICON_EXCLAMATION. In particular the ones that don't display are wx.ICON_QUESTION, wx.ICON_ERROR, and wx.ICON_INFORMATION. All of these display fine on Vista and Fedora 12. I'm using wx.Python 2.8.10.1 in all three cases. Is this a bug or a MacOS limitation?
On Wed, Mar 10, 2010 at 8:42 AM, Daniel B. Koch <kochdb@ornl.gov> wrote:
Apologies if this has already been discussed or is well-known. I'm testing
one of my wxPython apps on MacOS and Windows that was originally developed
on Linux. I've noticed that for the wx.MessageDialog class that not all the
bitmaps associated with the icon style flag are showing up on MacOS 10.5. So
far, the only one I've seen work is wx.ICON_EXCLAMATION. In particular the
ones that don't display are wx.ICON_QUESTION, wx.ICON_ERROR, and
wx.ICON_INFORMATION. All of these display fine on Vista and Fedora 12. I'm
using wx.Python 2.8.10.1 in all three cases. Is this a bug or a MacOS
limitation?
Last I remember they all worked fine on my Mac. Do you have a small
runnable sample that shows the problem
(MakingSampleApps - wxPyWiki).
On Mar 10, 9:48 am, Cody Precord <codyprec...@gmail.com> wrote:
Hi,
On Wed, Mar 10, 2010 at 8:42 AM, Daniel B. Koch <koc...@ornl.gov> wrote:
> Apologies if this has already been discussed or is well-known. I'm testing
> one of my wxPython apps on MacOS and Windows that was originally developed
> on Linux. I've noticed that for the wx.MessageDialog class that not all the
> bitmaps associated with the icon style flag are showing up on MacOS 10.5. So
> far, the only one I've seen work is wx.ICON_EXCLAMATION. In particular the
> ones that don't display are wx.ICON_QUESTION, wx.ICON_ERROR, and
> wx.ICON_INFORMATION. All of these display fine on Vista and Fedora 12. I'm
> using wx.Python 2.8.10.1 in all three cases. Is this a bug or a MacOS
> limitation?
Last I remember they all worked fine on my Mac. Do you have a small
runnable sample that shows the problem
(MakingSampleApps - wxPyWiki).
I don't remember details but I think that Apple's HIG (human interface guidelines) stipulates that message dialogs should always show the application's icon except for certain types of messages. So wx's wx.ICON_* flags are ignored except for those that correspond with those documented types.
···
On 3/10/10 6:42 AM, Daniel B. Koch wrote:
Apologies if this has already been discussed or is well-known. I'm
testing one of my wxPython apps on MacOS and Windows that was originally
developed on Linux. I've noticed that for the wx.MessageDialog class
that not all the bitmaps associated with the icon style flag are showing
up on MacOS 10.5. So far, the only one I've seen work is
wx.ICON_EXCLAMATION. In particular the ones that don't display are
wx.ICON_QUESTION, wx.ICON_ERROR, and wx.ICON_INFORMATION. All of these
display fine on Vista and Fedora 12. I'm using wx.Python 2.8.10.1 in all
three cases. Is this a bug or a MacOS limitation?