fix for unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3a858e7512
commit
46e2a2e7f6
@ -609,7 +609,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||
if ( argc > 1 )
|
||||
{
|
||||
static const wxChar *ARG_PSN = _T("-psn_");
|
||||
if ( wxStrncmp(argv[1], ARG_PSN, strlen(ARG_PSN)) == 0 )
|
||||
if ( wxStrncmp(argv[1], ARG_PSN, wxStrlen(ARG_PSN)) == 0 )
|
||||
{
|
||||
// remove this argument
|
||||
--argc;
|
||||
|
@ -609,7 +609,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||
if ( argc > 1 )
|
||||
{
|
||||
static const wxChar *ARG_PSN = _T("-psn_");
|
||||
if ( wxStrncmp(argv[1], ARG_PSN, strlen(ARG_PSN)) == 0 )
|
||||
if ( wxStrncmp(argv[1], ARG_PSN, wxStrlen(ARG_PSN)) == 0 )
|
||||
{
|
||||
// remove this argument
|
||||
--argc;
|
||||
|
Loading…
Reference in New Issue
Block a user