X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgezplot.cpp;h=a54d18edf0898a1f377e765d53a0d812b195070e;hp=2bf14f0091d2d736faedc6a0050407e3ed25ab26;hb=f7ee98f7d964ed361068179f0e7ea4475ed1abdf;hpb=1a050c98763fbbc0662731b0b76953acede6f5d7 diff --git a/src/dlgezplot.cpp b/src/dlgezplot.cpp index 2bf14f0..a54d18e 100644 --- a/src/dlgezplot.cpp +++ b/src/dlgezplot.cpp @@ -104,7 +104,7 @@ EZPlotControl::OnPaint (wxPaintEvent& event) wxEZPlotDialog::wxEZPlotDialog (wxWindow *parent, bool bCancelButton) -: wxDialog((parent ? parent : theApp->getMainFrame()), -1, wxString("EZPlot"), wxDefaultPosition, wxDefaultSize, wxDIALOG_MODAL), +: wxDialog((parent ? parent : theApp->getMainFrame()), -1, _T("EZPlot"), wxDefaultPosition, wxDefaultSize, wxDIALOG_MODAL), m_parentTop(0) { if (! parent) @@ -119,10 +119,10 @@ wxEZPlotDialog::wxEZPlotDialog (wxWindow *parent, bool bCancelButton) pTopSizer->Add (m_pEZPlotCtrl = new EZPlotControl (this), 0, wxALIGN_CENTER | wxALL, 5); wxBoxSizer* pButtonSizer = new wxBoxSizer (wxHORIZONTAL); - wxButton* pButtonOk = new wxButton (this, wxID_OK, "Ok"); + wxButton* pButtonOk = new wxButton (this, wxID_OK, _T("Ok")); pButtonSizer->Add (pButtonOk, 0, wxEXPAND | wxALL, 10); if (bCancelButton) { - wxButton* pButtonCancel = new wxButton (this, wxID_CANCEL, "Cancel"); + wxButton* pButtonCancel = new wxButton (this, wxID_CANCEL, _T("Cancel")); pButtonSizer->Add (pButtonCancel, 0, wxEXPAND | wxALL, 10); } pTopSizer->Add (pButtonSizer, 0, wxALIGN_CENTER);