From 87fbe614866ed932f1eefa1abaf1b39ef1427309 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 7 Jan 2000 05:42:30 +0000 Subject: [PATCH] Trying out addition of SetSize to wxCaret... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/caret.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/wx/caret.h b/include/wx/caret.h index f16884bd90..5a2926285a 100644 --- a/include/wx/caret.h +++ b/include/wx/caret.h @@ -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 // ---------- -- 2.50.0