X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdlgezplot.h;h=de25e64825521eeed769de1bbed166d275326438;hb=6bcab27e89795df59defa160aff6b9831468c4d9;hp=0ab8806cd0743c9e3a7af3dcc4c43d8bf7d5ade1;hpb=ed576a069b0ba9de2e9153707012eba620ac606e;p=ctsim.git diff --git a/src/dlgezplot.h b/src/dlgezplot.h index 0ab8806..de25e64 100644 --- a/src/dlgezplot.h +++ b/src/dlgezplot.h @@ -7,9 +7,9 @@ ** Date Started: Jan 2001 ** ** This is part of the CTSim program -** Copyright (C) 1983-2001 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: dlgezplot.h,v 1.2 2001/01/12 21:53:27 kevin Exp $ +** $Id: dlgezplot.h,v 1.4 2001/03/29 21:25:50 kevin Exp $ ** ** 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 @@ -74,19 +74,31 @@ public: }; -class EZPlotDialog : public wxDialog +class wxEZPlotDialog : public wxDialog { private: wxWindow *m_parentTop; // parent top level window (may be NULL) EZPlotControl* m_pEZPlotCtrl; public: - EZPlotDialog (wxWindow *parent = NULL); + wxEZPlotDialog (wxWindow *parent = NULL, bool bCancelButton = false); - ~EZPlotDialog(); + ~wxEZPlotDialog(); EZPlot* getEZPlot () { if (m_pEZPlotCtrl) return m_pEZPlotCtrl->getEZPlot(); else return NULL; } }; + +class EZPlotDialog +{ +private: + wxEZPlotDialog* m_pDialog; + +public: + EZPlotDialog (wxWindow *parent = NULL, bool bCancelButton = false); + + EZPlot* getEZPlot (); + int ShowModal(); +}; #endif