]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/msgdlg.h
Compile fix for the version of VC8 included in the 2003 PSDK.
[wxWidgets.git] / include / wx / gtk / msgdlg.h
index edcfcedbf4889ab4a1e83cc3dc5d48a529c78a03..58f240319453eef54c27700973dfc750aa142a33 100644 (file)
 #ifndef __MSGDLG_H__
 #define __MSGDLG_H__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "msgdlg.h"
-#endif
-
-#include "wx/setup.h"
+#include "wx/defs.h"
 #include "wx/dialog.h"
 
 // type is an 'or' (|) of wxOK, wxCANCEL, wxYES_NO
 // Returns wxYES/NO/OK/CANCEL
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxMessageBoxCaptionStr;
+WXDLLEXPORT_DATA(extern const wxChar) wxMessageBoxCaptionStr[];
 
 class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
 {
@@ -31,7 +27,7 @@ public:
                     const wxString& caption = wxMessageBoxCaptionStr,
                     long style = wxOK|wxCENTRE,
                     const wxPoint& pos = wxDefaultPosition);
-    ~wxMessageDialog();
+    virtual ~wxMessageDialog();
 
     int ShowModal();
     virtual bool Show( bool WXUNUSED(show) = true ) { return false; };