GetEditableState() with DescBoxState flag could assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1015,6 +1015,7 @@ wxString wxPropertyGridInterface::SaveEditableState( int includedStates ) const
|
||||
if ( includedStates & DescBoxState )
|
||||
{
|
||||
wxVariant v = GetEditableStateItem(wxS("descboxheight"));
|
||||
if ( !v.IsNull() )
|
||||
result += wxString::Format(wxS("descboxheight=%i;"), (int)v.GetLong());
|
||||
}
|
||||
result.RemoveLast(); // Remove last semicolon
|
||||
|
Reference in New Issue
Block a user