]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/filedlg.cpp
Include wx/cursor.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / src / mac / classic / filedlg.cpp
index 56f87a07357c358fd6ef7cbeed11490b4916ff44..f80b88378e030b7e07133395478d2d1fe50e5b88 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
+    #include "wx/app.h"
+    #include "wx/utils.h"
 #endif
 
-#include "wx/app.h"
-#include "wx/utils.h"
 #include "wx/dialog.h"
 #include "wx/tokenzr.h"
 #include "wx/filename.h"
 
 #ifndef __DARWIN__
-  #include "PLStringFuncs.h"
+    #include "PLStringFuncs.h"
 #endif
 
 IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
@@ -98,7 +98,7 @@ NavEventProc(
     else if ( inSelector == kNavCBStart )
     {
 #if TARGET_CARBON
-        if (data && !(data->defaultLocation).IsEmpty())
+        if (data && !(data->defaultLocation).empty())
         {
             // Set default location for the modern Navigation APIs
             // Apple Technical Q&A 1151
@@ -320,7 +320,7 @@ pascal Boolean CrossPlatformFilterCallback (
                 wxString file = wxMacMakeStringFromPascal( spec.name ) ;
                 display = CheckFile( file , theInfo->fileAndFolder.fileInfo.finderInfo.fdType , data ) ;
             }
- #if TARGET_CARBON
+#if TARGET_CARBON
             else if ( theItem->descriptorType == typeFSRef )
             {
                 FSRef fsref ;