X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5b507581053d7a11b5c1419dc3ac5c31904236b..b4446c244775324631b8dd2b588ea35f32e71728:/src/mac/classic/msgdlg.cpp diff --git a/src/mac/classic/msgdlg.cpp b/src/mac/classic/msgdlg.cpp index bcf8f1a499..8ae60e7a4d 100644 --- a/src/mac/classic/msgdlg.cpp +++ b/src/mac/classic/msgdlg.cpp @@ -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 ; } -