X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOWxOutputDlg.cpp;h=3d2ac5117d0c96041fd2ca99f490188afd55d3f7;hb=2a8a9b27d2eba4985b76d2f0218fd4ba83784ca9;hp=eee5600914af868db09e818962694a5445756a18;hpb=904a0f40b42aa61b7632fbaeca5441da76ce3970;p=creaImageIO.git diff --git a/src/creaImageIOWxOutputDlg.cpp b/src/creaImageIOWxOutputDlg.cpp index eee5600..3d2ac51 100644 --- a/src/creaImageIOWxOutputDlg.cpp +++ b/src/creaImageIOWxOutputDlg.cpp @@ -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 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::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();