if (m_path == "/home")
{
m_name = "My Home";
- m_path += "/";
- wxString str;
- wxGetHomeDir( & str );
- m_path = str;
+ m_path = "";
+ wxGetHomeDir( &m_path );
}
else
if (m_path == "/proc") m_name = "Info Filesystem";
item.m_children = 1;
m_rootId = InsertItem( 0, item );
- SetDropTarget( new wxFileDropTarget() );
+// SetDropTarget( new wxFileDropTarget() );
};
void wxDirCtrl::OnExpandItem( const wxTreeEvent &event )