X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxListenerPanel.cpp;h=b9212766370a67ad563239f7634ba6493c54f875;hb=3c92794ea3e8ad8e7ca34e270f7980aee304e726;hp=f259388d6cc789eeb509b207f3ae89d5c3f01b31;hpb=595926ac27740a8822b6de9579e2e148c59f469c;p=creaImageIO.git diff --git a/src2/creaImageIOWxListenerPanel.cpp b/src2/creaImageIOWxListenerPanel.cpp index f259388..b921276 100644 --- a/src2/creaImageIOWxListenerPanel.cpp +++ b/src2/creaImageIOWxListenerPanel.cpp @@ -26,7 +26,7 @@ namespace creaImageIO _T("E:"), _T("F:"), _T("G:") }; - drives=new wxComboBox(this, -1,"E:",wxPoint(100, 10),wxDefaultSize,4,choices); + drives=new wxComboBox(this, -1,crea::std2wx("E:"),wxPoint(100, 10),wxDefaultSize,4,choices); addCheckBox = new wxCheckBox(this, -1, _T("Automatically add images to the database when CD/DVD is mounted?"), wxPoint(5,45) ); addCheckBox->SetValue(true); @@ -37,7 +37,7 @@ namespace creaImageIO std::string name; if (state){name="Start Monitoring Drive";} else {name="Stop Monitoring Drive";} - wxButton *start = new wxButton(this,wxID_ANY,_T(name), wxPoint(5,110) ); + wxButton *start = new wxButton(this,wxID_ANY,crea::std2wx(name), wxPoint(5,110) ); Connect( start->GetId(), wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &WxListenerPanel::OnChangeThreadState ); wxButton *save = new wxButton(this,wxID_ANY,_T("Save Changes"), wxPoint(130,110) );