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:
parent
afbec1b9cd
commit
e58975a7e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user