X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..d21aa7f4eb15c7b92a7107b3e24beaa0d618cf84:/interface/wx/caret.h diff --git a/interface/wx/caret.h b/interface/wx/caret.h index 4182c41f60..b5d870635e 100644 --- a/interface/wx/caret.h +++ b/interface/wx/caret.h @@ -8,7 +8,6 @@ /** @class wxCaret - @wxheader{caret.h} A caret is a blinking cursor showing the position where the typed text will appear. Text controls usually have their own caret but wxCaret provides a @@ -63,7 +62,7 @@ public: Get the caret position (in pixels). */ void GetPosition(int* x, int* y) const; - const wxPoint GetPosition() const; + wxPoint GetPosition() const; //@} //@{ @@ -71,7 +70,7 @@ public: Get the caret size. */ void GetSize(int* width, int* height) const; - const wxSize GetSize() const; + wxSize GetSize() const; //@} /** @@ -82,7 +81,7 @@ public: /** Hides the caret, same as Show(@false). */ - void Hide(); + virtual void Hide(); /** Returns @true if the caret was created successfully. @@ -127,6 +126,6 @@ public: Shows or hides the caret. Notice that if the caret was hidden N times, it must be shown N times as well to reappear on the screen. */ - void Show(bool show = true); + virtual void Show(bool show = true); };