]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
Removed use of deprecated functions
[wxWidgets.git] / src / gtk / combobox.cpp
index f1bf7b63f5e04168dda4d00427c6e6e0ff478528..8cbcaf27bd1e5ba604f167dfa297775b431f82fd 100644 (file)
@@ -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);