From d2c0a964e734283b4c3653e777e86091bd7918ef Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 23 Aug 2003 01:44:09 +0000 Subject: [PATCH] Initialize default values for the tool button size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/tbargtk.cpp | 2 ++ src/gtk1/tbargtk.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/gtk/tbargtk.cpp b/src/gtk/tbargtk.cpp index 496fa62618..0802257ccc 100644 --- a/src/gtk/tbargtk.cpp +++ b/src/gtk/tbargtk.cpp @@ -258,6 +258,8 @@ void wxToolBar::Init() m_bg = (GdkColor *)NULL; m_toolbar = (GtkToolbar *)NULL; m_blockEvent = FALSE; + m_defaultWidth = 32; + m_defaultHeight = 32; } wxToolBar::~wxToolBar() diff --git a/src/gtk1/tbargtk.cpp b/src/gtk1/tbargtk.cpp index 496fa62618..0802257ccc 100644 --- a/src/gtk1/tbargtk.cpp +++ b/src/gtk1/tbargtk.cpp @@ -258,6 +258,8 @@ void wxToolBar::Init() m_bg = (GdkColor *)NULL; m_toolbar = (GtkToolbar *)NULL; m_blockEvent = FALSE; + m_defaultWidth = 32; + m_defaultHeight = 32; } wxToolBar::~wxToolBar() -- 2.50.0