// Sets the current directory to the home dir
mCurrentDirectory = std2wx(gimmick->GetHomeDirectory());
// Sets the current directory to the home dir
mCurrentDirectory = std2wx(gimmick->GetHomeDirectory());
// Connect the AddProgress callback
gimmick->ConnectAddProgressObserver
( boost::bind( &WxGimmickView::OnAddProgress , this, _1 ) );
// Connect the AddProgress callback
gimmick->ConnectAddProgressObserver
( boost::bind( &WxGimmickView::OnAddProgress , this, _1 ) );
mess << "Files\tscanned\t: " << p.GetNumberScannedFiles() << "\n";
mess << "Files\thandled\t: " << p.GetNumberHandledFiles() << "\n\n";
mess << "Files\tadded \t: " << p.GetNumberAddedFiles() << "\n\n";
mess << "Files\tscanned\t: " << p.GetNumberScannedFiles() << "\n";
mess << "Files\thandled\t: " << p.GetNumberHandledFiles() << "\n\n";
mess << "Files\tadded \t: " << p.GetNumberAddedFiles() << "\n\n";
wxMessageBox(std2wx(mess.str()),_T("Addition result"),wxOK,this);
}
wxMessageBox(std2wx(mess.str()),_T("Addition result"),wxOK,this);
}