Program: bbtk
Module: $RCSfile: bbwxDirectorySelector.cxx,v $
Language: C++
- Date: $Date: 2008/02/15 12:47:18 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/02/15 13:52:44 $
+ Version: $Revision: 1.2 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "bbwxDirectorySelector.h"
#include "bbwxPackage.h"
-
-#include <wx/filedlg.h>
-
+
+#include <wx/dirdlg.h>
namespace bbwx
{
bbtkDebugMessageInc("Core",9,"DirectorySelector::Process() ["
<<bbGetFullName()<<"]"<<std::endl);
- wxFileDialog* FD =
- new wxFileDialog( 0,
+ wxDirDialog* FD =
+ new wxDirDialog( 0,
bbtk::std2wx(bbGetInputMessage()),
bbtk::std2wx(bbGetInputDefaultDir()));
bbSetInputDefaultDir( bbtk::wx2std (FD->GetPath()) );
}
else
- {
+ {
bbSetOutputOut("");
bbSetInputDefaultDir("");
}