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)
{
int start_point = 45;
- wxStaticText * ExportText=new wxStaticText(this,-1,_T(sentence), wxPoint(5,10));
+ /// \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();
for(int i = 0;it != outsentences.end(); it++, i++, start_point += 45)
{
- wxCheckBox *check = new wxCheckBox(this, -1, _T((*it)), wxPoint(5,start_point) );
+ wxCheckBox *check = new wxCheckBox(this, -1, crea::std2wx((*it)), wxPoint(5,start_point) );
if(i == deflt)
check->SetValue(true);
else
checkOut.push_back(check);
}
- checkAsking = new wxCheckBox(this, -1, _T(("Do you want to save this output and no more asking")), wxPoint(5,start_point) );
+ checkAsking = new wxCheckBox(this, -1, _T("Do you want to save this output and no more asking"), wxPoint(5,start_point) );
// 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();