X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f449ef69b45acaa2faf554af774ce7b6b5f4af4e..d069d02e1e27f6d924c3b28173ff81d87ec8b072:/utils/ogl/samples/ogledit/view.h 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() };