X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a7a4e10ed18f81a576dcd866cfbf02bf404c00..23f4f495a5f91414c633ccc27a137901d61b923f:/src/mac/classic/filedlg.cpp diff --git a/src/mac/classic/filedlg.cpp b/src/mac/classic/filedlg.cpp index 56f87a0735..f80b88378e 100644 --- a/src/mac/classic/filedlg.cpp +++ b/src/mac/classic/filedlg.cpp @@ -19,16 +19,16 @@ #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 ;