]> Creatis software - creaContours.git/commitdiff
sizer fixed
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Wed, 25 Mar 2009 15:39:25 +0000 (15:39 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Wed, 25 Mar 2009 15:39:25 +0000 (15:39 +0000)
bbtk/src/bbCreaContournDimensions.cxx
lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx

index 378f0d43accc88b99b877cf1f3d9810fe1f3483c..85b23a0fbcc9298b4ccacdf0ae1cf8b4ef36d8a9 100644 (file)
@@ -29,10 +29,10 @@ void nDimensions::Process()
 void nDimensions::CreateWidget(wxWindow* parent)
 {
        
-       vtkImageData* img = bbGetInputIn();
+       //vtkImageData* img = bbGetInputIn();
 
        std::vector<vtkImageData*> selectedimages;
-       selectedimages.push_back(img);
+       //selectedimages.push_back(img);
 
        wxFrame* frame1 = new wxFrame(parent, wxID_ANY, wxT("ROI Application  -    Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
        frame = wxContourMainFrame::getInstance(frame1, wxID_ANY, wxString(_T("")), wxPoint(100,50), wxSize(800, 600), selectedimages );
index 9c860f40d9968808fcf8d88f2e43266db31f28a2..00465c1ea5afed17d733f95847d5e57e615bcbc1 100644 (file)
@@ -137,7 +137,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE )
                Connect(_verticalBar->GetId(),wxEVT_TSBAR_MOVED,(wxObjectEventFunction) (wxCommandEventFunction)  &wxContourViewPanel::onMovedBar_Vertical );
                
                
-               SetSizer( outSizer );
+               this->SetSizer( outSizer );
                this->SetAutoLayout( true );
                this->Layout();