From 44dfd9ff5b7380d0da8b15cc5fb05b28b0536d7c Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Thu, 15 Apr 2010 17:52:11 +0000 Subject: [PATCH] Fix compile error std::string vs char[25] --- .../wxWindows/widgets/wxMaracasDialog_NViewers.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasDialog_NViewers.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasDialog_NViewers.cpp index d509c61..2e58be9 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasDialog_NViewers.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasDialog_NViewers.cpp @@ -16,20 +16,19 @@ wxMaracasDialog_NViewers::wxMaracasDialog_NViewers(wxWindow* parent, vtkImageDat //: wxFrame(parent, -1, title) : wxFrame(NULL, -1, title, wxDefaultPosition,wxSize(700,700)) { - wxSplitterWindow *splitpanel = new wxSplitterWindow(this, -1); splitpanel->SetMinimumPaneSize(5); viewer = new wxMaracas_N_ViewersWidget(splitpanel, img, type); - - std::string path = crea::System::GetDllAppPath("bbcreaMaracasVisu.dll"); +// std::string path = crea::System::GetDllAppPath("bbcreaMaracasVisu.dll"); // JPR + std::string dllLastName("bbcreaMaracasVisu.dll"); + std::string path = crea::System::GetDllAppPath(dllLastName); cutter = CutModelMainPanel::getInstance(splitpanel, path); cutter->setRenderer( viewer->GetwxVtkBaseView(1)->GetRenderer() ); cutter->setInteractor( viewer->GetwxVtkBaseView(1)->GetWxVTKRenderWindowInteractor() ); cutter->setImageData(img); splitpanel->SplitVertically( cutter, viewer, 50); - } /** @@ -38,7 +37,6 @@ wxMaracasDialog_NViewers::wxMaracasDialog_NViewers(wxWindow* parent, vtkImageDat wxMaracasDialog_NViewers::~wxMaracasDialog_NViewers(){ } - /** ** **/ -- 2.46.1