[wxPython-users] 2.8.1.1 icon problems on OS X

Robin Dunn robin at alldunn.com
Mon Jan 29 17:48:04 PST 2007


Daniel Graham wrote:
> I'm sorry I didn't make myself clearer. 

I understood you before.


> 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.

It was this way in the past, but I just checked a more recent previous 
version and you are right, the application icon was not used in the 
message dialogs.  There was a recent bug fix in wxMessageDialog that may 
be the cause of this: before the fix the dialog would stay on top of all 
windows for all of the running apps, not just the windows from the app 
that displayed the message dialog.  The fix was to make it be only on 
top of the same app.  I don't know the details of the change but it 
could be that a different system API is used and so different system 
semantics for the icon come into play.  Please enter a bug report about 
this (category="wxMac specific") and we'll see if there is a way to have 
both the icon matching the parameter and also only be on top of the same 
app.

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





More information about the wxpython-users mailing list