#if wxUSE_LISTBOX
#include "wx/listbox.h"
-#include "wx/dynarray.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/dynarray.h"
+ #include "wx/intl.h"
+ #include "wx/utils.h"
+ #include "wx/settings.h"
+#endif
+
#include "wx/arrstr.h"
-#include "wx/utils.h"
-#include "wx/intl.h"
#include "wx/checklst.h"
-#include "wx/settings.h"
#include "wx/gtk1/private.h"
#if wxUSE_TOOLTIPS
-#include "wx/tooltip.h"
+ #include "wx/tooltip.h"
#endif
#include <gdk/gdk.h>
InvalidateBestSize();
GList *children = m_list->children;
- int length = g_list_length(children);
+ unsigned int length = g_list_length(children);
wxCHECK_RET( pos <= length, wxT("invalid index in wxListBox::InsertItems") );