From: jean-pierre roux Date: Fri, 29 May 2009 09:22:55 +0000 (+0000) Subject: std2wx X-Git-Tag: EED.02Oct2009~55 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7401c2876033b89eaca1d9d1ba6b197742ac4e28;p=creaImageIO.git std2wx --- diff --git a/src2/creaImageIOWxAttributeSelectionPanel.h b/src2/creaImageIOWxAttributeSelectionPanel.h index 8e3cf77..5700fd5 100644 --- a/src2/creaImageIOWxAttributeSelectionPanel.h +++ b/src2/creaImageIOWxAttributeSelectionPanel.h @@ -58,4 +58,5 @@ namespace creaImageIO #endif // USE_WIDGETS // EOF -#endif \ No newline at end of file +#endif + diff --git a/src2/creaImageIOWxCustomizeConfigPanel.cpp b/src2/creaImageIOWxCustomizeConfigPanel.cpp index 8fd0e78..7ca2f23 100644 --- a/src2/creaImageIOWxCustomizeConfigPanel.cpp +++ b/src2/creaImageIOWxCustomizeConfigPanel.cpp @@ -28,16 +28,16 @@ namespace creaImageIO GimmickDebugMessage(1,"WxCustomizeConfigPanel::WxCustomizeConfigPanel" <GetId(), wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &WxCustomizeConfigPanel::OnSaveConfig ); diff --git a/src2/creaImageIOWxCustomizeConfigPanel.h b/src2/creaImageIOWxCustomizeConfigPanel.h index 0de052a..0152af1 100644 --- a/src2/creaImageIOWxCustomizeConfigPanel.h +++ b/src2/creaImageIOWxCustomizeConfigPanel.h @@ -51,4 +51,5 @@ namespace creaImageIO #endif // USE_WIDGETS // EOF -#endif \ No newline at end of file +#endif + diff --git a/src2/creaImageIOWxGimmickView.cpp b/src2/creaImageIOWxGimmickView.cpp index 9ada3c1..d6ddcdc 100644 --- a/src2/creaImageIOWxGimmickView.cpp +++ b/src2/creaImageIOWxGimmickView.cpp @@ -915,7 +915,7 @@ namespace creaImageIO //======================================================================== void WxGimmickView::CreateEditFieldsDialog(tree::Node* node, std::vector names, std::vector keys) { - wxDialog* dial= new wxDialog (this,-1,_T("Edit Fields for node "+node->GetLabel()),wxDefaultPosition, wxSize(350,155)); + wxDialog* dial= new wxDialog (this,-1,crea::std2wx("Edit Fields for node "+node->GetLabel()),wxDefaultPosition, wxSize(350,155)); wxBoxSizer *siz = new wxBoxSizer(wxVERTICAL); WxEditFieldsPanel* ef = new WxEditFieldsPanel(dial, dial, this, node, names, keys); diff --git a/src2/creaImageIOWxListenerPanel.cpp b/src2/creaImageIOWxListenerPanel.cpp index f259388..86c5e90 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,_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) ); diff --git a/src2/creaImageIOWxListenerPanel.h b/src2/creaImageIOWxListenerPanel.h index 17dff79..cf66794 100644 --- a/src2/creaImageIOWxListenerPanel.h +++ b/src2/creaImageIOWxListenerPanel.h @@ -53,4 +53,6 @@ namespace creaImageIO #endif // USE_WIDGETS // EOF -#endif \ No newline at end of file +#endif + +