]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/msgdlg.cpp
Crash fix under VC++
[wxWidgets.git] / src / gtk1 / msgdlg.cpp
index eaa3d7cf3ab59fc6f1a810bef999b0da26f5d284..6ca49154810bada7180376d09d45ba4b0f230abe 100644 (file)
 
 #if wxUSE_MSGDLG && defined(__WXGTK20__) && !defined(__WXGPE__)
 
 
 #if wxUSE_MSGDLG && defined(__WXGTK20__) && !defined(__WXGPE__)
 
+#include "wx/msgdlg.h"
 #include "wx/gtk/private.h"
 #include <gtk/gtk.h>
 
 #include "wx/gtk/private.h"
 #include <gtk/gtk.h>
 
-#include "wx/msgdlg.h"
 #include "wx/intl.h"
 
 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
 #include "wx/intl.h"
 
 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
@@ -95,6 +95,10 @@ wxMessageDialog::wxMessageDialog(wxWindow *parent,
                                      GTK_WINDOW(m_parent->m_widget));
 }
  
                                      GTK_WINDOW(m_parent->m_widget));
 }
  
+wxMessageDialog::~wxMessageDialog()
+{
+}
+
 int wxMessageDialog::ShowModal()
 {
     gint result = gtk_dialog_run(GTK_DIALOG(m_widget));
 int wxMessageDialog::ShowModal()
 {
     gint result = gtk_dialog_run(GTK_DIALOG(m_widget));