Trying out addition of SetSize to wxCaret...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2000-01-07 05:42:30 +00:00
parent 5a1c877f57
commit 87fbe61486

View File

@ -95,6 +95,11 @@ public:
// get the window we're associated with
wxWindow *GetWindow() const { return (wxWindow *)m_window; }
// change the size of the caret
void SetSize(int width, int height) { m_width = width; m_height = height; }
void SetSize(const wxSize& size) { SetSize(size.x, size.y); }
// operations
// ----------