]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcscreen.cpp
Improved selection mode handling in wxGrid::SelectBlock
[wxWidgets.git] / src / gtk / dcscreen.cpp
index 825cd2b2deacd64b2fd236c779b49d9f8645d4b9..51a09f4806bd0943be912e838e64c4a4990fdf94 100644 (file)
@@ -38,6 +38,8 @@ wxScreenDC::wxScreenDC()
     m_cmap = gdk_colormap_get_system();
     m_window = GDK_ROOT_PARENT();
 
     m_cmap = gdk_colormap_get_system();
     m_window = GDK_ROOT_PARENT();
 
+    m_isScreenDC = TRUE;
+
     SetUpDC();
 
     gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS );
     SetUpDC();
 
     gdk_gc_set_subwindow( m_penGC, GDK_INCLUDE_INFERIORS );