]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/textctrl.cpp
Put gridg.h back so that it gets installed
[wxWidgets.git] / src / gtk1 / textctrl.cpp
index 66fbb33bd5eac4198516418ba062c88697560653..8a2fcc64919c74b599cbe586c5d3a70f518f1596 100644 (file)
@@ -946,7 +946,7 @@ void wxTextCtrl::OnInternalIdle()
             cursor = *wxSTANDARD_CURSOR;
 
         window = m_widget->window;
-        if (window)
+        if ((window) && !(GTK_WIDGET_NO_WINDOW(m_widget)))
             gdk_window_set_cursor( window, cursor.GetCursor() );
     }
 }