/**
@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
Get the caret position (in pixels).
*/
void GetPosition(int* x, int* y) const;
- const wxPoint GetPosition() const;
+ wxPoint GetPosition() const;
//@}
//@{
Get the caret size.
*/
void GetSize(int* width, int* height) const;
- const wxSize GetSize() const;
+ wxSize GetSize() const;
//@}
/**
/**
Hides the caret, same as Show(@false).
*/
- void Hide();
+ virtual void Hide();
/**
Returns @true if the caret was created successfully.
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);
};