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:
@@ -633,7 +633,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
|||||||
#if TARGET_API_MAC_OSX
|
#if TARGET_API_MAC_OSX
|
||||||
// these might be the startup dirs, set them to the 'usual' dir containing the app bundle
|
// these might be the startup dirs, set them to the 'usual' dir containing the app bundle
|
||||||
wxString startupCwd = wxGetCwd() ;
|
wxString startupCwd = wxGetCwd() ;
|
||||||
if ( startupCwd == "/" || startupCwd.Right(15) == "/Contents/MacOS" )
|
if ( startupCwd == wxT("/") || startupCwd.Right(15) == wxT("/Contents/MacOS") )
|
||||||
{
|
{
|
||||||
wxString cwd ;
|
wxString cwd ;
|
||||||
CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle() ) ;
|
CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle() ) ;
|
||||||
|
Reference in New Issue
Block a user