From fce88a4c4710c6e3a5bc5a180d60395f6be1ffe5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 3 Jun 2007 22:38:28 +0000 Subject: [PATCH] initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909) [backport from HEAD] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/listbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/listbase.h b/include/wx/listbase.h index 33cc52f924..9ef2d47669 100644 --- a/include/wx/listbase.h +++ b/include/wx/listbase.h @@ -336,7 +336,7 @@ protected: m_col = 0; m_state = 0; m_stateMask = 0; - m_image = 0; + m_image = -1; m_data = 0; m_format = wxLIST_FORMAT_CENTRE;