X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d9c1c24d7d1a68da02a7fbb4b4c7459139a1df6..106f0d98f88a701b4c9ea7e2419d7ee6c66de13b:/interface/wx/caret.h diff --git a/interface/wx/caret.h b/interface/wx/caret.h index 637e305c94..de8bcc0272 100644 --- a/interface/wx/caret.h +++ b/interface/wx/caret.h @@ -3,7 +3,7 @@ // Purpose: interface of wxCaret // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -60,17 +60,31 @@ public: //@{ /** Get the caret position (in pixels). + + @beginWxPerlOnly + In wxPerl there are two methods instead of a single overloaded + method: + - GetPosition(): returns a Wx::Point object. + - GetPositionXY(): returns a 2-element list (x, y). + @endWxPerlOnly */ void GetPosition(int* x, int* y) const; - const wxPoint GetPosition() const; + wxPoint GetPosition() const; //@} //@{ /** Get the caret size. + + @beginWxPerlOnly + In wxPerl there are two methods instead of a single overloaded + method: + - GetSize(): returns a Wx::Size object. + - GetSizeWH(): returns a 2-element list (width, height). + @endWxPerlOnly */ void GetSize(int* width, int* height) const; - const wxSize GetSize() const; + wxSize GetSize() const; //@} /** @@ -90,7 +104,7 @@ public: /** 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 + hidden (if it is blinking and not shown currently but will be after the next blink, this method still returns @true). */ bool IsVisible() const;