From 357196321f776fd8478644dac6e21d27c3705d82 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 10 Apr 1999 22:26:46 +0000 Subject: [PATCH] unitialized var initialized (mainly to reduce Purify warnings) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/tbarbase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index 793ef3787b..6f7793b419 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -220,6 +220,7 @@ wxToolBarTool *wxToolBarBase::AddTool(int index, const wxBitmap& bitmap, const w void wxToolBarBase::AddSeparator () { wxToolBarTool *tool = new wxToolBarTool; + tool->m_index = -1; tool->m_toolStyle = wxTOOL_STYLE_SEPARATOR; m_tools.Append(-1, tool); } -- 2.50.0