]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/filedlg.cpp
Set HTML data even in Unicode mode
[wxWidgets.git] / src / mac / carbon / filedlg.cpp
index 5430f5ef39e8d1b1f9a7f71a93977c4ce76145fa..dcd709aef41b515ad74dfad779af3aa9fea0397a 100644 (file)
@@ -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"
   #include "PLStringFuncs.h"
 #endif
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
-#endif
 
 // begin wxmac
 
 #include "wx/mac/private.h"
 
+#ifndef __DARWIN__
 #include <Navigation.h>
+#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