Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-03-24 08:19:35 +00:00
parent a5325ad672
commit 3b69b47ca6
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,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]);
}

View File

@@ -589,7 +589,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") );