#ifdef __WXMSW__
#include <windows.h>
+#include "wx/msw/winundef.h"
// FIXME - Mingw32 1.0 has both _getdrive() and _chdrive(). For now, let's assume
// older releases don't, but it should be verified and the checks modified
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())
{
while(strTok.HasMoreTokens())
{
curFilter = strTok.GetNextToken();
- if (d.GetFirst(& eachFilename, m_currentFilterStr, style))
+ if (d.GetFirst(& eachFilename, curFilter, style))
{
do
{
// 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