Fix compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8228b8932a
commit
1dc9b42f4f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user