From 7b3eaf8fd1e3dfcb04ebb07675b607665ffe258c Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 25 Mar 2005 13:36:37 +0000 Subject: [PATCH] Initialized vars to something in wxToolBarBase. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/tbarbase.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/tbarbase.cpp b/src/common/tbarbase.cpp index f944cdd209..40c84a74cc 100644 --- a/src/common/tbarbase.cpp +++ b/src/common/tbarbase.cpp @@ -146,8 +146,10 @@ wxToolBarBase::wxToolBarBase() { // the list owns the pointers m_xMargin = m_yMargin = 0; - m_maxRows = m_maxCols = 0; + m_toolPacking = m_toolSeparation = 0; + m_defaultWidth = 16; + m_defaultHeight = 15; } wxToolBarToolBase *wxToolBarBase::DoAddTool(int id, -- 2.50.0