From: Robin Dunn Date: Fri, 7 Jan 2000 05:42:30 +0000 (+0000) Subject: Trying out addition of SetSize to wxCaret... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/87fbe614866ed932f1eefa1abaf1b39ef1427309?ds=inline Trying out addition of SetSize to wxCaret... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 // ----------