if (m_path == "/home")
{
m_name = "My Home";
- m_path += "/";
- char buf[300];
- wxGetHomeDir( buf );
- m_path = buf;
+ 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 )