]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/filedlg.cpp
Applied DnD patch, adding a field for setting a default action.
[wxWidgets.git] / src / mac / carbon / filedlg.cpp
index 5430f5ef39e8d1b1f9a7f71a93977c4ce76145fa..fc125d5921c6787771d420ac20a7d1cc1692b38c 100644 (file)
@@ -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"
@@ -417,7 +418,6 @@ int wxFileDialog::ShowModal()
             if (err != noErr)
                 break;
 
-            CFURLRef fullURLRef = 0 ;
             if (m_dialogStyle & wxSAVE)
                 thePath = wxMacFSRefToPath( &theFSRef , navReply.saveFileName ) ;
             else