]> Creatis software - creaMaracasVisu.git/commitdiff
Fix compile error std::string vs char[25]
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 15 Apr 2010 17:52:11 +0000 (17:52 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 15 Apr 2010 17:52:11 +0000 (17:52 +0000)
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasDialog_NViewers.cpp

index d509c61b8384f115e9975ac1db1db5dfc4250475..2e58be96c9cfb67c6053e80ec76f5a5b32639054 100644 (file)
@@ -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(){ 
 }
 
-
 /**
 **
 **/