wxScreenDC works better now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1108
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
########################### Programs #################################
# Replace this with your own path if necessary
########################### Programs #################################
# Replace this with your own path if necessary
+#WXDIR = /home/karl/wxWindows
WXDIR = /home/jacs/wx2
# C++ compiler
WXDIR = /home/jacs/wx2
# C++ compiler
# Replace this with your own path if necessary
# Replace this with your own path if necessary
+#WXDIR = /home/karl/wxWindows
WXDIR = /home/jacs/wx2
include $(WXDIR)/src/make.env
WXDIR = /home/jacs/wx2
include $(WXDIR)/src/make.env
gcvalues.foreground = BlackPixel (display, DefaultScreen (display));
gcvalues.background = WhitePixel (display, DefaultScreen (display));
gcvalues.graphics_exposures = False;
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)),
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;
&gcvalues);
m_backgroundPixel = (int) gcvalues.background;
int width, height, width1, height1;
GetSize(& width, & height);
int width, height, width1, height1;
GetSize(& width, & height);
+// lesstif 0.87 hangs here
+#ifndef LESSTIF_VERSION
XtVaSetValues (w,
XmNfontList, (XmFontList) m_windowFont.GetFontList(1.0, XtDisplay(w)),
NULL);
XtVaSetValues (w,
XmNfontList, (XmFontList) m_windowFont.GetFontList(1.0, XtDisplay(w)),
NULL);
GetSize(& width1, & height1);
if (keepOriginalSize && (width != width1 || height != height1))
GetSize(& width1, & height1);
if (keepOriginalSize && (width != width1 || height != height1))