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 (