]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/msgdlg.cpp
include X11/Xutil.h for wxMotif compilation
[wxWidgets.git] / src / mac / classic / msgdlg.cpp
index bcf8f1a4991e77562355bde898fe3cbef842e828..8ae60e7a4d9019a6c64ad1fb4587a44c9ec9c60f 100644 (file)
@@ -9,18 +9,19 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma implementation "msgdlg.h"
-#endif
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
 
-#include "wx/app.h"
 #include "wx/msgdlg.h"
-#include "wx/intl.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/intl.h"
+    #include "wx/app.h"
+#endif
+
 #include "wx/mac/uma.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
-#endif
 
 wxMessageDialog::wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption,
                                  long style, const wxPoint& pos)
@@ -261,4 +262,3 @@ int wxMessageDialog::ShowModal()
 
     return resultbutton ;
 }
-