projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Update package dependency from libwxgtk3.0-dev to libwxgtk3.0-gtk3-dev for...
[ctsim.git]
/
src
/
dlgezplot.cpp
diff --git
a/src/dlgezplot.cpp
b/src/dlgezplot.cpp
index 2bf14f0091d2d736faedc6a0050407e3ed25ab26..17fe68f7101765619b2f8647f619d38867b9d574 100644
(file)
--- a/
src/dlgezplot.cpp
+++ b/
src/dlgezplot.cpp
@@
-7,9
+7,7
@@
** Date Started: Jan 2001
**
** This is part of the CTSim program
** Date Started: Jan 2001
**
** This is part of the CTSim program
-** Copyright (c) 1983-2001 Kevin Rosenberg
-**
-** $Id$
+** Copyright (c) 1983-2009 Kevin Rosenberg
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-104,8
+102,8
@@
EZPlotControl::OnPaint (wxPaintEvent& event)
wxEZPlotDialog::wxEZPlotDialog (wxWindow *parent, bool bCancelButton)
wxEZPlotDialog::wxEZPlotDialog (wxWindow *parent, bool bCancelButton)
-
: wxDialog((parent ? parent : theApp->getMainFrame()), -1, wxString("EZPlot"), wxDefaultPosition, wxDefaultSize, wxDIALOG_MODAL
),
- m_parentTop(0)
+
: wxDialog((parent ? parent : theApp->getMainFrame()), -1, _T("EZPlot")
),
+
m_parentTop(0)
{
if (! parent)
parent = theApp->getMainFrame();
{
if (! parent)
parent = theApp->getMainFrame();
@@
-119,10
+117,10
@@
wxEZPlotDialog::wxEZPlotDialog (wxWindow *parent, bool bCancelButton)
pTopSizer->Add (m_pEZPlotCtrl = new EZPlotControl (this), 0, wxALIGN_CENTER | wxALL, 5);
wxBoxSizer* pButtonSizer = new wxBoxSizer (wxHORIZONTAL);
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) {
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);
pButtonSizer->Add (pButtonCancel, 0, wxEXPAND | wxALL, 10);
}
pTopSizer->Add (pButtonSizer, 0, wxALIGN_CENTER);