Error trying to extend MessageBox

Ben Kaplan wrote:

MessageBox is a function, not a class. Calling MessageBox creates and displays a wx.MessageDialog, so that is what you use.

OTOH, wx.MessageDialog is not a real wx.Dialog (it's just a wrapper around a platform API function, made to look and act something like a class) so deriving from it probably won't allow you to do what you want.

···

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