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:
parent
a3f2769e09
commit
ffd98768ba
@ -215,6 +215,8 @@ void wxGridCellEnumRenderer::SetParameters(const wxString& params)
|
||||
wxGridCellEnumEditor::wxGridCellEnumEditor(const wxString& choices)
|
||||
: wxGridCellChoiceEditor()
|
||||
{
|
||||
m_startint = -1;
|
||||
|
||||
if (!choices.IsEmpty())
|
||||
SetParameters(choices);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user