]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOWxOutputDlg.cpp
(some of the) unused variables
[creaImageIO.git] / src / creaImageIOWxOutputDlg.cpp
index eee5600914af868db09e818962694a5445756a18..3d2ac5117d0c96041fd2ca99f490188afd55d3f7 100644 (file)
@@ -14,7 +14,7 @@ namespace creaImageIO
                std::string sentence;
                sentence = "You select";
                std::string sentence2 = "You have the possibility to select output format :";
-               int nbsent= 0;
+               //int nbsent= 0;
                std::vector<std::string> outsentences;
                if (size == 1)
                {
@@ -71,6 +71,7 @@ namespace creaImageIO
 
 
          int start_point = 45;
+         /// \TODO fix unused variable ExportText
          wxStaticText * ExportText=new wxStaticText(this,-1,crea::std2wx(sentence), wxPoint(5,10));
          
          std::vector<std::string>::iterator it = outsentences.begin();
@@ -89,8 +90,10 @@ namespace creaImageIO
 
          // VALIDATION BUTTON
          wxButton *Ok = new wxButton(this, -1,_T("OK"), wxPoint(5,start_point+20) );
-         Connect( Ok->GetId(), wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &WxOutputDlg::OnOk ); 
-       
+         
+         Connect( Ok->GetId(), wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &WxOutputDlg::OnOk );
+         
+         /// \TODO fix unused variable Cancel
          wxButton *Cancel = new wxButton(this, wxID_CANCEL,_T("CANCEL"), wxPoint(100,start_point+20) );
          Layout();