string constants unicode savvy

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-07-19 06:01:13 +00:00
parent d5690a21e3
commit 6601362a1d

View 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() ) ;