]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/corefoundation/stdpaths_cf.cpp
fix another minor bug in DLGC_WANTMESSAGE handling in MSWProcessMessage()
[wxWidgets.git] / src / mac / corefoundation / stdpaths_cf.cpp
index 925d220ecffb3e2e1342000bccc2be7cd2c5a25d..fedc3982f09c9c6e554196085e0ae149780fd834 100644 (file)
@@ -166,7 +166,11 @@ wxString wxStandardPathsCF::GetExecutablePath() const
     processinfo.processAppSpec = &fsSpec;
 
     GetProcessInformation( &procno , &processinfo ) ;
+#ifdef __LP64__
+    return wxMacFSRefToPath(&fsRef);
+#else
     return wxMacFSSpec2MacFilename(&fsSpec);
+#endif
 #else
     return wxStandardPathsBase::GetExecutablePath();
 #endif
@@ -201,7 +205,7 @@ wxString wxStandardPathsCF::GetResourcesDir() const
 }
 
 wxString
-wxStandardPathsCF::GetLocalizedResourcesDir(const wxChar *lang,
+wxStandardPathsCF::GetLocalizedResourcesDir(const wxString& lang,
                                             ResourceCat category) const
 {
     return wxStandardPathsBase::