]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/filedlg.cpp
added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
[wxWidgets.git] / src / mac / classic / filedlg.cpp
index 52ecefe806e852705da695a0d1dc8deec776e3d0..27ec563fe170dff8cf79f611765e2b3930bdf25a 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
+    #include "wx/utils.h"
+    #include "wx/dialog.h"
 #endif
 
-#include "wx/utils.h"
-#include "wx/dialog.h"
 #include "wx/tokenzr.h"
 #include "wx/filename.h"
 
@@ -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