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