#if wxUSE_MSGDLG && defined(__WXGTK20__) && !defined(__WXGPE__)
+#include "wx/msgdlg.h"
#include "wx/gtk/private.h"
#include <gtk/gtk.h>
-#include "wx/msgdlg.h"
#include "wx/intl.h"
IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
GTK_WINDOW(m_parent->m_widget));
}
+wxMessageDialog::~wxMessageDialog()
+{
+}
+
int wxMessageDialog::ShowModal()
{
gint result = gtk_dialog_run(GTK_DIALOG(m_widget));
// fall through
case GTK_RESPONSE_CANCEL:
+ case GTK_RESPONSE_DELETE_EVENT:
+ case GTK_RESPONSE_CLOSE:
return wxID_CANCEL;
case GTK_RESPONSE_OK:
return wxID_OK;