//: 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);
-
}
/**
wxMaracasDialog_NViewers::~wxMaracasDialog_NViewers(){
}
-
/**
**
**/