]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/msgdlg.cpp
Restore a use case that was lost with the last set of updates, using a
[wxWidgets.git] / src / mac / classic / msgdlg.cpp
index bbb4cca7df8210ee94bebe8a8c781e58f8f909b3..8ae60e7a4d9019a6c64ad1fb4587a44c9ec9c60f 100644 (file)
@@ -9,9 +9,16 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#include "wx/app.h"
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.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"
 
 IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
@@ -255,4 +262,3 @@ int wxMessageDialog::ShowModal()
 
     return resultbutton ;
 }
-