]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pLogicalFunction.h
#3144 creaMaracasVisu Bug New Normal - changeWx28to30
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pLogicalFunction.h
index 4958a398c9e7463f0ea0f388e6619c988ca2c58b..6c5bac405aa7d17427755129a2d235b6463bc8d4 100644 (file)
@@ -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<x<x1+validPointRange y1-validPointRange<y<y1+validPointRange