git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56086
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( includedStates & DescBoxState )
{
wxVariant v = GetEditableStateItem(wxS("descboxheight"));
if ( includedStates & DescBoxState )
{
wxVariant v = GetEditableStateItem(wxS("descboxheight"));
- result += wxString::Format(wxS("descboxheight=%i;"), (int)v.GetLong());
+ if ( !v.IsNull() )
+ result += wxString::Format(wxS("descboxheight=%i;"), (int)v.GetLong());
}
result.RemoveLast(); // Remove last semicolon
result += wxS("|");
}
result.RemoveLast(); // Remove last semicolon
result += wxS("|");