]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Idiot I am; my previous commit certainly broke non-Unicode builds
[wxWidgets.git] / src / gtk / app.cpp
index 0ef365ec055a62bd6ecd44daee068b277a3c089a..f5afdd777c4d3df24cc61de7e534af908fd7c434 100644 (file)
@@ -679,8 +679,8 @@ GtkWidget* wxGetRootWindow()
 // wxEntry
 //-----------------------------------------------------------------------------
 
-
-int wxEntryStart( int argc, char *argv[] )
+// NB: argc and argv may be changed here, pass by reference!
+int wxEntryStart( int& argc, char *argv[] )
 {
 #if wxUSE_THREADS
     /* GTK 1.2 up to version 1.2.3 has broken threads */