X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42cfaf8cd4464466398ed888cb2caa5ee360c7ef..2356708db31b737c6eae53c2316b642aa5a2e68d:/utils/ogl/src/basicp.h diff --git a/utils/ogl/src/basicp.h b/utils/ogl/src/basicp.h index 77c6922c14..aa1067764f 100644 --- a/utils/ogl/src/basicp.h +++ b/utils/ogl/src/basicp.h @@ -62,7 +62,7 @@ class wxControlPoint: public wxRectangleShape bool GetAttachmentPosition(int attachment, double *x, double *y, int nth = 0, int no_arcs = 1, wxLineShape *line = NULL); - int GetNumberOfAttachments(); + int GetNumberOfAttachments() const; inline void SetEraseObject(bool er) { m_eraseObject = er; } @@ -78,14 +78,14 @@ public: * Store original top-left, bottom-right coordinates * in case we're doing non-vertical resizing. */ - static double controlPointDragStartX; - static double controlPointDragStartY; - static double controlPointDragStartWidth; - static double controlPointDragStartHeight; - static double controlPointDragEndWidth; - static double controlPointDragEndHeight; - static double controlPointDragPosX; - static double controlPointDragPosY; + static double sm_controlPointDragStartX; + static double sm_controlPointDragStartY; + static double sm_controlPointDragStartWidth; + static double sm_controlPointDragStartHeight; + static double sm_controlPointDragEndWidth; + static double sm_controlPointDragEndHeight; + static double sm_controlPointDragPosX; + static double sm_controlPointDragPosY; }; class wxPolygonShape;