wx 2.9 works in 64bit with snow leopard

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4374 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-10-07 10:13:20 +00:00
parent b920ade474
commit f768ae5586
4 changed files with 7 additions and 5 deletions

View File

@ -311,12 +311,14 @@ bool DolphinApp::OnInit()
//TODO : if not exist copy game config dir in user dir and detect the revision to upgrade if necessary
//TODO : if not exist copy maps dir in user dir and detect revision to upgrade if necessary
#if !wxCHECK_VERSION(2, 9, 0)
// HACK: Get rid of bogus osx param
if (argc > 1 && wxString(argv[argc - 1]).StartsWith(_("-psn_"))) {
delete argv[argc-1];
argv[argc-1] = NULL;
argc--;
}
#endif
#endif
// Gets the passed media files from command line