X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29a3f6548e10e77f684502658bb148eef7f3bd32..e59127de8b89a377348c11ea11430a4fcbf4ff5d:/interface/wx/geometry.h diff --git a/interface/wx/geometry.h b/interface/wx/geometry.h index 5ad471c399..80f091fca7 100644 --- a/interface/wx/geometry.h +++ b/interface/wx/geometry.h @@ -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