From 7ab97504f3203f23dccad8966383259fe17aaa2f Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 12 Jan 2009 05:34:07 +0000 Subject: [PATCH] use text cursor only when control is enabled, #10347 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/textctrl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 3252fa06b8..dddbd8509a 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -1283,6 +1283,7 @@ bool wxTextCtrl::Enable( bool enable ) } gtk_widget_set_sensitive( m_text, enable ); + SetCursor(enable ? wxCursor(wxCURSOR_IBEAM) : wxCursor()); return true; }