]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcscreen.cpp
wxStringList::Sort() bug corrected
[wxWidgets.git] / src / motif / dcscreen.cpp
index ac4344498e89d4c4864cf6af54753ab01a2959f8..2f5d52453b63eac07782c27101e69d63100f211f 100644 (file)
@@ -47,9 +47,10 @@ wxScreenDC::wxScreenDC()
   gcvalues.foreground = BlackPixel (display, DefaultScreen (display));
   gcvalues.background = WhitePixel (display, DefaultScreen (display));
   gcvalues.graphics_exposures = False;
+  gcvalues.subwindow_mode = IncludeInferiors;
   gcvalues.line_width = 1;
   m_gc = XCreateGC (display, RootWindow (display, DefaultScreen (display)),
-           GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth,
+           GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth | GCSubwindowMode,
                  &gcvalues);
 
   m_backgroundPixel = (int) gcvalues.background;