X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fdlgezplot.h;h=d47df3933257f301cdd90bdba3020174eb32263b;hp=26637d928550980165c6d3298febec22409b42e9;hb=f7ee98f7d964ed361068179f0e7ea4475ed1abdf;hpb=8a7697ce57b56cdc43698cd1241ad98d49f9b5ac diff --git a/src/dlgezplot.h b/src/dlgezplot.h index 26637d9..d47df39 100644 --- a/src/dlgezplot.h +++ b/src/dlgezplot.h @@ -40,7 +40,7 @@ class EZPlot; class EZPlotControl : public wxPanel { -private: +private: DECLARE_DYNAMIC_CLASS (EZPlotControl) DECLARE_EVENT_TABLE () EZPlot* m_pEZPlot; @@ -57,13 +57,13 @@ public: const wxSize& size = wxDefaultSize, long style = wxSTATIC_BORDER, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "EZPlotCtrl"); + const wxString& name = _T("EZPlotCtrl")); virtual ~EZPlotControl(); virtual wxSize GetBestSize() const; - EZPlot* getEZPlot() + EZPlot* getEZPlot() { return m_pEZPlot; } void OnPaint(wxPaintEvent& event);