Init();
long treeStyle = wxTR_HAS_BUTTONS | wxTR_HIDE_ROOT;
-
+
#ifdef __WXGTK20__
treeStyle |= wxTR_NO_LINES;
#endif
m_rootId = m_treeCtrl->AddRoot( rootName, 3, -1, rootData);
m_treeCtrl->SetItemHasChildren(m_rootId);
ExpandDir(m_rootId); // automatically expand first level
-
+
// Expand and select the default path
if (!m_defaultPath.empty())
{
// wxFileIconsTable icons
// ----------------------------------------------------------------------------
+#ifndef __WXGTK24__
/* Computer */
static const char * file_icons_tbl_computer_xpm[] = {
"16 16 7 1",
" .oXoXoXoXoXo.o ",
".XOXXXXXXXXX.o ",
"............o "};
+#endif // GTK+ < 2.4
// ----------------------------------------------------------------------------
// wxFileIconsTable & friends