From: Juan Prieto Date: Mon, 5 Oct 2009 19:43:13 +0000 (+0000) Subject: Works with Visual Studio 2008 X-Git-Tag: CREATOOLS.2-0-3~122 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3e44acb4a0963c9fb97d135820048fda3cf9ebd9;p=creaImageIO.git Works with Visual Studio 2008 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 931f7e5..2d27f2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ ENDIF (BUILD_CREA_BRUKER) OPTION(BUILD_CREA_PACS "Build creaImageIO with PACS connection library ?" OFF) IF (BUILD_CREA_PACS) CREA_DEFINE(BUILD_PACS) -ENDIF(BUID_CREA_PACS) +ENDIF(BUILD_CREA_PACS) # SUBDIRS(appli) diff --git a/src2/creaImageIOGimmick.cpp b/src2/creaImageIOGimmick.cpp index e168c37..7d7cca0 100644 --- a/src2/creaImageIOGimmick.cpp +++ b/src2/creaImageIOGimmick.cpp @@ -203,7 +203,10 @@ namespace creaImageIO //======================================================================== void Gimmick::CreateUserSettingsDirectory() { - if (! boost::filesystem::is_directory( GetUserSettingsDirectory() ) ) + //JCP settings dir 02/10/2009 + const std::string settingsdirectory = GetUserSettingsDirectory(); + bool isdir = boost::filesystem::is_directory( settingsdirectory ); + if (! isdir ) { GimmickMessage(1,"Directory '"< #include #include +#include #include diff --git a/src2/creaImageIOWxViewer.cpp b/src2/creaImageIOWxViewer.cpp index f73e81e..338d7e9 100644 --- a/src2/creaImageIOWxViewer.cpp +++ b/src2/creaImageIOWxViewer.cpp @@ -61,8 +61,7 @@ namespace creaImageIO wxBoxSizer *topsizer = new wxBoxSizer(wxVERTICAL); - // previewer - + // previewer mInteractor = new crea::creawxVTKRenderWindowInteractor(this,-1); mInteractor->UseCaptureMouseOn();