#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)
// 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;