X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29a3f6548e10e77f684502658bb148eef7f3bd32..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/geometry.h diff --git a/interface/wx/geometry.h b/interface/wx/geometry.h index 5ad471c399..4c1ba92c8f 100644 --- a/interface/wx/geometry.h +++ b/interface/wx/geometry.h @@ -2,7 +2,6 @@ // Name: geometry.h // Purpose: interface of geometry classes // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -147,8 +146,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 +237,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