X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2FwxInstantChooserPanel.cxx;h=ea1cfeaf9a1180866d618e6e63f90d2c61e33758;hb=99c30d2b8b911d2b923ca173285041d2b077d770;hp=0bc1fed8ada8d0a0db23621834c96200bf0d1953;hpb=d20aa4c87071dd7795678e7716c6f8ba248cebc1;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx b/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx index 0bc1fed..ea1cfea 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx @@ -153,7 +153,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE ) } else { - for(int i=0; i<_concepts->size(); i++) + for(int i=0; i< (int)(_concepts->size()); i++) { changeResolutionAtConceptControl( (*_concepts)[i] ); } @@ -194,7 +194,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE ) { int size = _concepts->size(); wxConceptControl * aConcept = NULL; - int accum = 0; +// int accum = 0; for(int i = 0; i < eventConcept->getNumCheckBox();i++){ if(i!=groupID){ @@ -264,7 +264,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE ) void wxInstantChooserPanel :: setInstant(std::vector choiceInstant) { int max = _concepts->size(); - if( choiceInstant.size() == max ) + if( (int)(choiceInstant.size()) == max ) { int i = 0; while(i< max) @@ -473,7 +473,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE ) bool isChecked = false; int i,size = _concepts->size(); - wxConceptControl * aConcept = NULL; +// wxConceptControl * aConcept = NULL; for ( i=0; igetName().compare( theConceptName ) == 0 )