X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fee6e257780f17b4d53b48aa0e7d2ac69664595..328f5751e8a06727b137189fe04891a9f43bfc8b:/interface/caret.h diff --git a/interface/caret.h b/interface/caret.h index 4e8a9c177d..cc9b5aec58 100644 --- a/interface/caret.h +++ b/interface/caret.h @@ -69,8 +69,8 @@ public: Returns a 2-element list @c ( x, y ) */ - void GetPosition(int* x, int* y); - wxPoint GetPosition(); + void GetPosition(int* x, int* y) const; + const wxPoint GetPosition() const; //@} //@{ @@ -86,14 +86,14 @@ public: Returns a 2-element list @c ( width, height ) */ - void GetSize(int* width, int* height); - wxSize GetSize(); + void GetSize(int* width, int* height) const; + const wxSize GetSize() const; //@} /** Get the window the caret is associated with. */ - wxWindow* GetWindow(); + wxWindow* GetWindow() const; /** Same as wxCaret::Show(@false). @@ -103,14 +103,14 @@ public: /** Returns @true if the caret was created successfully. */ - bool IsOk(); + bool IsOk() const; /** Returns @true if the caret is visible and @false if it is permanently hidden (if it is is blinking and not shown currently but will be after the next blink, this method still returns @true). */ - bool IsVisible(); + bool IsVisible() const; //@{ /**