X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FpLogicalFunction.h;h=6c5bac405aa7d17427755129a2d235b6463bc8d4;hb=542063db4a06b1a74587bcab7d5c450ebdd53272;hp=4958a398c9e7463f0ea0f388e6619c988ca2c58b;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pLogicalFunction.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pLogicalFunction.h index 4958a39..6c5bac4 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pLogicalFunction.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pLogicalFunction.h @@ -101,6 +101,9 @@ public: } */ + +//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0 +#if wxMAJOR_VERSION <= 2 /** Get Point list of the funcion @param return points @@ -110,6 +113,19 @@ public: { points = realPoints; } +#else + /** + Get Point list of the funcion + @param return pointsPtr + */ + /*virtual*/ + wxList* GetPointsPtr() + { + return &realPoints; + } +#endif + + /* * validate if the function has that point in a sensible area returning the index where the point was found or -1 if is in not part of the function: define the sensible area is * x1-validPointRange