]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialized vars to something in wxToolBarBase.
authorRobert Roebling <robert@roebling.de>
Fri, 25 Mar 2005 13:36:37 +0000 (13:36 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 25 Mar 2005 13:36:37 +0000 (13:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/tbarbase.cpp

index f944cdd209f9d6659c79ae02b8d6908338b952c4..40c84a74ccf203b8a36bb7604a1596cd62ebed39 100644 (file)
@@ -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,