X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2FwxInstantChooserPanel.cxx;h=ea1cfeaf9a1180866d618e6e63f90d2c61e33758;hb=e12b7f2166c9aeae510907210c450d7044a6a352;hp=b40caf42caf7c3af1c31a7f6a1f748b01d83960b;hpb=6e3c929c883c405e0075fa8df10b12a935979367;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx b/lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx index b40caf4..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){ @@ -211,8 +211,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE ) aConcept->clearCheckAt( groupID ); } } - } - + } } } @@ -265,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) @@ -474,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 ) @@ -499,4 +498,5 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE ) addConcept( conceptNameVect[i], 1, conceptSizeVect[i], 1); } // if } - } \ No newline at end of file + } +