Initialized m_startint in the constructor to avoid cloning of uninitialized value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker 2001-06-10 17:01:25 +00:00
parent a3f2769e09
commit ffd98768ba

View File

@ -215,6 +215,8 @@ void wxGridCellEnumRenderer::SetParameters(const wxString& params)
wxGridCellEnumEditor::wxGridCellEnumEditor(const wxString& choices)
: wxGridCellChoiceEditor()
{
m_startint = -1;
if (!choices.IsEmpty())
SetParameters(choices);
}