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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user