**************** wx.MessageDialog **************** Inheritance diagram for `wx.MessageDialog`: | .. inheritance-diagram:: wx.MessageDialog | Description =========== This class represents a dialog that shows a single or multi-line message, with a choice of ``OK``, ``Yes``, ``No`` and ``Cancel`` buttons. Derived From ^^^^^^^^^^^^^ * `wx.Dialog `_ * `wx.Window `_ * `wx.EvtHandler `_ * `wx.Object `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `ShowModal <#ShowModal>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(parent, message, caption=wx.MessageBoxCaptionStr, style=wx.OK|wx.CANCEL|wx.CENTRE, pos=wx.DefaultPosition) Constructor, use `ShowModal <#ShowModal>`_ to display the dialog. **Parameters:** * `parent` (`wx.Window `_) * `message` (string) * `caption` (string) * `style` (long) * `pos` (`wx.Point `_) | **Returns:** `wx.MessageDialog `_ ----------- .. method:: ShowModal() Shows the dialog, returning one of ``wx.ID_OK``, ``wx.ID_CANCEL``, ``wx.ID_YES``, ``wx.ID_NO``. | **Returns:** `int`