]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
Back to previous call with -1 replacement.
[wxWidgets.git] / src / gtk1 / choice.cpp
index 80300657bbfa1214dc04d37b67b654c1dce506c1..1372a2398f68ad88e60674d6d74bea915134d057 100644 (file)
 #if wxUSE_CHOICE
 
 #include "wx/choice.h"
-#include "wx/arrstr.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/arrstr.h"
+#endif
 
 #include "wx/gtk1/private.h"
 
@@ -133,7 +136,7 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id,
 
     GtkWidget *menu = gtk_menu_new();
 
-    for (unsigned int i = 0; i < n; i++)
+    for (unsigned int i = 0; i < (unsigned int)n; i++)
     {
         GtkAddHelper(menu, i, choices[i]);
     }