From: Stefan Csomor Date: Mon, 19 Jul 2004 06:01:13 +0000 (+0000) Subject: string constants unicode savvy X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6601362a1d5f1ba27d41168de86692bad15d39a2 string constants unicode savvy git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 037fa35994..83406b9623 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -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() ) ;