From 1e03b21d31b26d7a1f9a5869ff2499636f906a4d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 14 Jun 2004 21:18:50 +0000 Subject: [PATCH] m_img* need initialized too otherwise we can end up with rows that are a million pixels high! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp index 288ea108b6..a03013f754 100644 --- a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp @@ -1812,6 +1812,8 @@ void wxTreeListMainWindow::Init() m_lineHeight = LINEHEIGHT; m_indent = MININDENT; // min. indent m_linespacing = 4; + m_imgWidth = 0, m_imgWidth2 = 0; + m_imgHeight = 0, m_imgHeight2 = 0; m_hilightBrush = new wxBrush ( -- 2.45.2