From 20f4b566868fe446aec9194958e9b02549bb2074 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 24 Aug 2006 18:07:40 +0000 Subject: [PATCH] fix compilation both for Robert's cross-compiler and for all normal compilers by just removing the offending m_item initialization line which is unnecessary anyhow git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/treectrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 08f8e0779f..d2370e8184 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -293,9 +293,9 @@ class wxTreeItemParam { public: wxTreeItemParam() - : m_item(NULL), - m_data(NULL) { + m_data = NULL; + for ( size_t n = 0; n < WXSIZEOF(m_images); n++ ) { m_images[n] = -1; -- 2.47.2