Remove unnecessary assertion in wxPGProperty::GetChoiceSelection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Artur Wieczorek 2014-08-06 23:28:40 +00:00
parent afbec1b9cd
commit e58975a7e4

View File

@ -1949,8 +1949,6 @@ void wxPGProperty::DeleteChoice( int index )
int wxPGProperty::GetChoiceSelection() const
{
wxASSERT_MSG( m_choices.IsOk(), wxT("No choices defined") );
wxVariant value = GetValue();
wxString valueType = value.GetType();
int index = wxNOT_FOUND;