[wxpython-users] A bug in wxPython (possibly because it is in wxWidgets)

Robin Dunn robin at alldunn.com
Sat May 3 16:28:22 PDT 2008


Chester wrote:
> Hello!
> 
> If wx.MessageDialog() is used to create a dialog, the title bar icon of 
> the parent frame is shown in the title bar of this dialog as well, but 
> the title bar icon of the parent frame is NOT shown in the title bar of 
> this dialog if wx.MessageBox() is used to create the dialog.
> 
> This is a bug and it is present ONLY under Linux. I've tested this under 
> Windows XP, but it worked correctly for the wx.MessageBox().
> 
> Please fix this bug. I think you should fix it in wxWidgets and it will 
> be fixed in wxPython once that'll be re-SWIG-ed. Thank you.

Pass the parent window to wx.MessageBox, then it will know where to get 
the default icon it should use.

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



More information about the wxpython-users mailing list