]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
use a filename, not URL, when quering its modification time
[wxWidgets.git] / src / gtk1 / listbox.cpp
index 260122e33c6722e84468fe125f440236d2202e3d..38eee5c8d36693b0edbb5ff1d47022d15e561c19 100644 (file)
 #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>
@@ -589,7 +593,7 @@ void wxListBox::DoInsertItems(const wxArrayString& items, unsigned int pos)
     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") );