]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for unicode build
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 22 Oct 2003 17:08:54 +0000 (17:08 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 22 Oct 2003 17:08:54 +0000 (17:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/app.cpp
src/mac/carbon/app.cpp

index 57a0a7a787306777b776d8a358c18da6c91d9af9..baa2127bbfb32725e30fba4c1135a6a8b57d3eb2 100644 (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;
index 57a0a7a787306777b776d8a358c18da6c91d9af9..baa2127bbfb32725e30fba4c1135a6a8b57d3eb2 100644 (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;