X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32c66ea22e85a01e07b0ad15feb7358cd6df1de1..42cfaf8cd4464466398ed888cb2caa5ee360c7ef:/utils/ogl/samples/ogledit/view.h?ds=inline diff --git a/utils/ogl/samples/ogledit/view.h b/utils/ogl/samples/ogledit/view.h index e49855bc6f..f4c508e198 100644 --- a/utils/ogl/samples/ogledit/view.h +++ b/utils/ogl/samples/ogledit/view.h @@ -34,16 +34,16 @@ class MyCanvas: public wxShapeCanvas void OnMouseEvent(wxMouseEvent& event); void OnPaint(wxPaintEvent& event); - virtual void OnLeftClick(float x, float y, int keys = 0); - virtual void OnRightClick(float x, float y, int keys = 0); + virtual void OnLeftClick(double x, double y, int keys = 0); + virtual void OnRightClick(double x, double y, int keys = 0); - virtual void OnDragLeft(bool draw, float x, float y, int keys=0); // Erase if draw false - virtual void OnBeginDragLeft(float x, float y, int keys=0); - virtual void OnEndDragLeft(float x, float y, int keys=0); + virtual void OnDragLeft(bool draw, double x, double y, int keys=0); // Erase if draw false + virtual void OnBeginDragLeft(double x, double y, int keys=0); + virtual void OnEndDragLeft(double x, double y, int keys=0); - virtual void OnDragRight(bool draw, float x, float y, int keys=0); // Erase if draw false - virtual void OnBeginDragRight(float x, float y, int keys=0); - virtual void OnEndDragRight(float x, float y, int keys=0); + virtual void OnDragRight(bool draw, double x, double y, int keys=0); // Erase if draw false + virtual void OnBeginDragRight(double x, double y, int keys=0); + virtual void OnEndDragRight(double x, double y, int keys=0); DECLARE_EVENT_TABLE() };