#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)
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
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 ;