X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..180f3c7461bf2a8ed136967f45be880a38cfc0b8:/interface/wx/caret.h diff --git a/interface/wx/caret.h b/interface/wx/caret.h index c967ee764a..b5d870635e 100644 --- a/interface/wx/caret.h +++ b/interface/wx/caret.h @@ -62,7 +62,7 @@ public: Get the caret position (in pixels). */ void GetPosition(int* x, int* y) const; - const wxPoint GetPosition() const; + wxPoint GetPosition() const; //@} //@{ @@ -70,7 +70,7 @@ public: Get the caret size. */ void GetSize(int* width, int* height) const; - const wxSize GetSize() const; + wxSize GetSize() const; //@} /** @@ -81,7 +81,7 @@ public: /** Hides the caret, same as Show(@false). */ - void Hide(); + virtual void Hide(); /** Returns @true if the caret was created successfully. @@ -126,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); };