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
This commit is contained in:
Paul Cornett
2009-01-12 05:34:07 +00:00
parent b759e7d3d0
commit 7ab97504f3

View File

@@ -1283,6 +1283,7 @@ bool wxTextCtrl::Enable( bool enable )
}
gtk_widget_set_sensitive( m_text, enable );
SetCursor(enable ? wxCursor(wxCURSOR_IBEAM) : wxCursor());
return true;
}