don't avoid no-window widgets in GTKUpdateCursor()

it doesn't work for things like multi-line text control where m_widget is a no-window GtkScrolledWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2014-02-01 21:01:09 +00:00
parent 11cecbbf92
commit ccd6a5fa0e

View File

@@ -3671,12 +3671,8 @@ bool wxWindowGTK::SetCursor( const wxCursor &cursor )
void wxWindowGTK::GTKUpdateCursor(bool, bool)
{
if (m_widget == NULL ||
!gtk_widget_get_realized(m_widget) ||
(m_wxwindow == NULL && !gtk_widget_get_has_window(m_widget)))
{
if (m_widget == NULL || !gtk_widget_get_realized(m_widget))
return;
}
GdkCursor* cursor = NULL;
if (m_cursor.IsOk())