** 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.5 2003/01/23 23:35:58 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
#ifndef __DLGEZPLOT_H_
#define __DLGEZPLOT_H_
-#ifdef __GNUG__
-#pragma interface "dlgezplot.h"
-#endif
-
#include "wx/setup.h"
#include "wx/dialog.h"
#include "wx/dcmemory.h"
};
-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