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:
Stefan Csomor 2003-10-22 17:08:54 +00:00
parent 3a858e7512
commit 46e2a2e7f6
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;