]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pGraphicalFunction.h
#3418 creaMaracasVisu Feature New Normal - ManualPaint_model with openmp
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pGraphicalFunction.h
index 4e8564c3fac753782aaaae3c7353a36aed1cd0c9..227df55d84157c3888ed06e13d2e0c7d7fe64f1f 100644 (file)
@@ -270,6 +270,11 @@ public:
                }
                return false;
        }
+
+
+
+//EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
+#if wxMAJOR_VERSION <= 2
        /**
        Get Point list of the funcion
        @param return points
@@ -279,16 +284,27 @@ public:
                logicFunction->GetPoints(points);
                //points = realPoints;
        }  
+#else
+       /**
+       Get Point list of the funcion
+       @param return pointsPtr
+       */
+       virtual wxList* GetPointsPtr()
+       {
+               return logicFunction->GetPointsPtr();
+       }  
+#endif
+
+
 
        /**
        Get the point where the user
        made a click
        */
-
        virtual void getMousePoint(int &x,int &y)
        {
-               x=mousePoint.x;
-               y=mousePoint.y;
+               x = mousePoint.x;
+               y = mousePoint.y;
        }
 
        /**