Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-03-14 23:16:13 +00:00
parent 4c286ef633
commit 035b6a79d0

View File

@@ -320,7 +320,7 @@ void wxChoice::Delete( int n )
Clear();
for ( i = 0; i < count - 1; i++ )
for ( i = 0; (size_t)i < count - 1; i++ )
{
Append(items[i]);
@@ -528,7 +528,7 @@ int wxChoice::GtkAddHelper(GtkWidget *menu, size_t pos, const wxString& item)
// if we're called from ctor (and GtkMenuShell is still NULL)
// normal control, just append
if (pos == (int)m_clientList.GetCount())
if (pos == m_clientList.GetCount())
{
gtk_menu_append( GTK_MENU(menu), menu_item );
m_clientList.Append( (wxObject*) NULL );