]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialized m_startint in the constructor to avoid cloning of uninitialized value
authorGeorge Tasker <gtasker@allenbrook.com>
Sun, 10 Jun 2001 17:01:25 +0000 (17:01 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Sun, 10 Jun 2001 17:01:25 +0000 (17:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/gridctrl.cpp

index a6f8f58b808e85e953015249cec8bc453a49bb0e..ddd9793285edccfa34aa6c0a692e0367b160c5ad 100644 (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);
 }