X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxCommandButton.cxx;h=2b943b2edbf278d48c3cd512f8bbf58b6638a3bf;hb=05e7ead34117d7cd9946e02dfc6a4f1079630f4f;hp=9b39118b2bf63fc395bd1af88bc53673f7c8f08f;hpb=2593029cb1c4a272c6502cc9abc82f980d479739;p=bbtk.git diff --git a/packages/wx/src/bbwxCommandButton.cxx b/packages/wx/src/bbwxCommandButton.cxx index 9b39118..2b943b2 100644 --- a/packages/wx/src/bbwxCommandButton.cxx +++ b/packages/wx/src/bbwxCommandButton.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbwxCommandButton.cxx,v $ Language: C++ - Date: $Date: 2008/03/19 12:26:09 $ - Version: $Revision: 1.4 $ + Date: $Date: 2008/03/26 14:47:37 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,6 +27,7 @@ #include "bbwxCommandButton.h" #include "bbwxPackage.h" #include "bbtkInterpreter.h" +#include "bbtkExecuter.h" @@ -111,8 +112,7 @@ namespace bbwx ccommand[i]=34; // " } } - bool insideComment = false; // for multiline comment - I->InterpretLine( ccommand, insideComment ); + I->InterpretLine( ccommand ); pos1=pos2+1; pos2 = commandstr.find(";",pos2+1);