]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
Generate key events in generic wxDataViewCtrl implementation.
[wxWidgets.git] / src / unix / utilsunx.cpp
index 219c7727cbb8da1d2c9ce6581c7611dd63927411..6126c0a2e55c9a8623e0da1307e48719be5848cc 100644 (file)
@@ -394,7 +394,7 @@ public:
     ArgsArray(wchar_t **wargv)
     {
         int argc = 0;
-        while ( *wargv++ )
+        while ( wargv[argc] )
             argc++;
 
         Init(argc);