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
This commit is contained in:
Vadim Zeitlin
1999-04-10 22:26:46 +00:00
parent 8df136714c
commit 357196321f

View File

@@ -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);
}