]> git.saurik.com Git - wxWidgets.git/commitdiff
string constants unicode savvy
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 19 Jul 2004 06:01:13 +0000 (06:01 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 19 Jul 2004 06:01:13 +0000 (06:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index 037fa35994415d91e4375eb889311a1b25f3235e..83406b962384de5bb166d0d55b15fa957c29f396 100644 (file)
@@ -633,7 +633,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
 #if TARGET_API_MAC_OSX
     // these might be the startup dirs, set them to the 'usual' dir containing the app bundle
     wxString startupCwd = wxGetCwd() ;
-    if ( startupCwd == "/" || startupCwd.Right(15) == "/Contents/MacOS" )
+    if ( startupCwd == wxT("/") || startupCwd.Right(15) == wxT("/Contents/MacOS") )
     {
         wxString cwd ;
         CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle() ) ;