]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx
*** empty log message ***
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourViewPanel.cxx
index 9c860f40d9968808fcf8d88f2e43266db31f28a2..9cde2b489e32b7ff626e01f4972e71cfc12c6520 100644 (file)
@@ -91,7 +91,6 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE )
        :wxPanel(parent, -1, pos, size, style)          
        {               
                theShowingImage->GetSpacing(last_spacing);
-               
                showingVID = theShowingImage;
                int gapH = 20;
                int gapV = 10;
@@ -137,7 +136,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();
 
@@ -148,7 +147,6 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE )
                //outSizer->Fit( this );        
 
                initializeScenceManager();
-
        }
        
 
@@ -212,7 +210,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE )
        }
        //------------------------------------------------------------------------------------------------------------
 
-       void wxContourViewPanel :: createViewPanel()
+       void wxContourViewPanel::createViewPanel()
        {               
                std::vector<int> * numViews = new std::vector<int> ();
                numViews->push_back(2);
@@ -222,7 +220,8 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE )
                theViewPanel->SetBackgroundColour(wxColour(0,0,0));
 
                theViewPanel->SetSize(800,600);
-               theViewPanel->GetWindow(1)->SetSize(800,600);   
+               theViewPanel->GetWindow(1)->SetSize(800,600);
+               
        }
        //------------------------------------------------------------------------------------------------------------
 
@@ -311,14 +310,14 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE )
        */
        void wxContourViewPanel :: onStartChange_Bar_Horizontal(wxCommandEvent& event)
        {
-               int nxStart_h = getStartHorizontal();
+//             int nxStart_h = getStartHorizontal();
        }
        /**
        * Handles the event wxEVT_TSBAR_END from the horizontal bar     
        */
        void wxContourViewPanel :: onEndChange_Bar_Horizontal(wxCommandEvent& event)
        {
-               int nxEnd_h = getEndHorizontal();
+//             int nxEnd_h = getEndHorizontal();
        }
        /**
        * Handles the event wxEVT_SELECTION_END from the horizontal bar 
@@ -332,8 +331,8 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE )
        */
        void wxContourViewPanel :: onMovedBar_Horizontal(wxCommandEvent& event)
        {
-               int nxStart_h = getStartHorizontal();
-               int nxEnd_h = getEndHorizontal();
+//             int nxStart_h = getStartHorizontal();
+//             int nxEnd_h = getEndHorizontal();
        }