From 1dc9b42f4f911152fb1bea3e6f532769d08a023b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 14 Mar 2006 20:28:07 +0000 Subject: [PATCH] Fix compilation error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/combobox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index f1bf7b63f5..8cbcaf27bd 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -467,7 +467,7 @@ int wxComboBox::DoInsert( const wxString &item, int pos ) wxCHECK_MSG( m_widget != NULL, -1, wxT("invalid combobox") ); wxCHECK_MSG( IsValidInsert(pos), -1, wxT("invalid index") ); - const size_t count = GetCount(); + size_t count = GetCount(); if ((size_t)pos == count) return Append(item);