X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2Fmathplot.h;h=743bc54d5cca32ab867b1995d1ce8dce58493a1f;hb=542063db4a06b1a74587bcab7d5c450ebdd53272;hp=a55e7b0d1c4b8256395920a05ca98082c6f75822;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h index a55e7b0..743bc54 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.h @@ -465,6 +465,7 @@ public: int flags = 0); ~mpWindow(); + /** Get reference to context menu of the plot canvas. @return Pointer to menu. The menu can be modified. */ @@ -917,13 +918,22 @@ protected: */ int type; + private: //bitmap of functions wxBitmap *_bitmap_functions; +//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0 +#if wxMAJOR_VERSION <= 2 DECLARE_CLASS(mpWindow) +#else + wxDECLARE_DYNAMIC_CLASS(mpWindow); +#endif + DECLARE_EVENT_TABLE() + + }; #endif // _MP_MATHPLOT_H_