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)
|
wxGridCellEnumEditor::wxGridCellEnumEditor(const wxString& choices)
|
||||||
: wxGridCellChoiceEditor()
|
: wxGridCellChoiceEditor()
|
||||||
{
|
{
|
||||||
|
m_startint = -1;
|
||||||
|
|
||||||
if (!choices.IsEmpty())
|
if (!choices.IsEmpty())
|
||||||
SetParameters(choices);
|
SetParameters(choices);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user