Make wxRect2D::Get{Position,Size}() const.

Accessors should be const.

Closes #14555.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-08-03 12:50:03 +00:00
parent 803a4f2e17
commit b3b3713300
2 changed files with 8 additions and 8 deletions

View File

@@ -147,8 +147,8 @@ public:
// single attribute accessors
wxPoint2DDouble GetPosition();
wxSize GetSize();
wxPoint2DDouble GetPosition() const;
wxSize GetSize() const;
// for the edge and corner accessors there are two setters counterparts, the Set.. functions keep the other corners at their
// position whenever sensible, the Move.. functions keep the size of the rect and move the other corners appropriately
@@ -238,8 +238,8 @@ public:
// single attribute accessors
wxPoint2DInt GetPosition();
wxSize GetSize();
wxPoint2DInt GetPosition() const;
wxSize GetSize() const;
// for the edge and corner accessors there are two setters counterparts, the Set.. functions keep the other corners at their
// position whenever sensible, the Move.. functions keep the size of the rect and move the other corners appropriately