From e58975a7e41c4d916aaed46ab75ab1417f13c899 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Wed, 6 Aug 2014 23:28:40 +0000 Subject: [PATCH] Remove unnecessary assertion in wxPGProperty::GetChoiceSelection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/property.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index 6e88947fd7..9125315a15 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -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;