]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxListenerPanel.cpp
std2wx
[creaImageIO.git] / src2 / creaImageIOWxListenerPanel.cpp
index f259388d6cc789eeb509b207f3ae89d5c3f01b31..86c5e9006527c5465c1a23053c5efb8379ba11a0 100644 (file)
@@ -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,_T("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) );