]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
compilation fix
[wxWidgets.git] / src / gtk / app.cpp
index b7ce136139ce62844efd135accfbe25430c97f7c..b598da0307a5ee7877d9a24b2ce01b707f9b6dee 100644 (file)
@@ -550,6 +550,8 @@ bool wxApp::ProcessIdle()
     event.SetEventObject( this );
     ProcessEvent( event );
 
+    wxUpdateUIEvent::ResetUpdateTime();
+    
     return event.MoreRequested();
 }
 
@@ -706,7 +708,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
 #if wxUSE_UNICODE
     // gtk_init() wants UTF-8, not wchar_t, so convert
     int i;
-    char *argvGTK = new char *[argc + 1];
+    char **argvGTK = new char *[argc + 1];
     for ( i = 0; i < argc; i++ )
     {
         argvGTK[i] = wxStrdupA(wxConvUTF8.cWX2MB(argv[i]));
@@ -722,7 +724,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
         // we have to drop the parameters which were consumed by GTK+
         for ( i = 0; i < argcGTK; i++ )
         {
-            while ( wxStrcmp(wxConvUTF8.cWX2MB(argv[i]), argvGTK[i]) != 0 )
+            while ( strcmp(wxConvUTF8.cWX2MB(argv[i]), argvGTK[i]) != 0 )
             {
                 memmove(argv + i, argv + i + 1, argc - i);
             }