X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a9a4f2295344414e2ee4e3ec27fa5292918dff27..ca282726be518ce2f214b890dbaafce736f14e36:/interface/wx/geometry.h diff --git a/interface/wx/geometry.h b/interface/wx/geometry.h index 139c783785..80f091fca7 100644 --- a/interface/wx/geometry.h +++ b/interface/wx/geometry.h @@ -147,11 +147,11 @@ public: // single attribute accessors - wxPoint2DDouble GetPosition(); - wxSize GetSize(); + wxPoint2DDouble GetPosition() const; + wxSize GetSize() const; - // for the edge and corner accessors there are two setters conterparts, 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 apropriately + // 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 wxDouble GetLeft() const; void SetLeft( wxDouble n ); @@ -238,11 +238,11 @@ public: // single attribute accessors - wxPoint2DInt GetPosition(); - wxSize GetSize(); + wxPoint2DInt GetPosition() const; + wxSize GetSize() const; - // for the edge and corner accessors there are two setters conterparts, 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 apropriately + // 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 wxInt32 GetLeft() const; void SetLeft( wxInt32 n ); @@ -316,7 +316,7 @@ public: class wxTransform2D { public : - virtual ~wxTransform2D() { } + virtual ~wxTransform2D(); virtual void Transform( wxPoint2DInt* pt )const = 0; virtual void Transform( wxRect2DInt* r ) const; virtual wxPoint2DInt Transform( const wxPoint2DInt &pt ) const;