X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8228b8932abaedadbf9568bb3a1eef3ae25fb2a3..2c3ebf8be5f192f23d8266603a72d19a7267c7c5:/src/gtk/combobox.cpp 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);