X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2b772607a87ffe6fe9af8c0b64b7259ef10a4a4..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/mac/carbon/filedlg.cpp diff --git a/src/mac/carbon/filedlg.cpp b/src/mac/carbon/filedlg.cpp index 5430f5ef39..60a898e95a 100644 --- a/src/mac/carbon/filedlg.cpp +++ b/src/mac/carbon/filedlg.cpp @@ -9,11 +9,12 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "filedlg.h" #endif -#include "wx/defs.h" +#include "wx/wxprec.h" + #include "wx/app.h" #include "wx/utils.h" #include "wx/dialog.h" @@ -26,9 +27,7 @@ #include "PLStringFuncs.h" #endif -#if !USE_SHARED_LIBRARY IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase) -#endif // begin wxmac @@ -417,7 +416,6 @@ int wxFileDialog::ShowModal() if (err != noErr) break; - CFURLRef fullURLRef = 0 ; if (m_dialogStyle & wxSAVE) thePath = wxMacFSRefToPath( &theFSRef , navReply.saveFileName ) ; else