Allow creating a mono wxMemoryDC under wxMotif. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,7 +114,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
|
|||||||
gcvalues.graphics_exposures = False;
|
gcvalues.graphics_exposures = False;
|
||||||
gcvalues.subwindow_mode = IncludeInferiors;
|
gcvalues.subwindow_mode = IncludeInferiors;
|
||||||
gcvalues.line_width = 1;
|
gcvalues.line_width = 1;
|
||||||
m_gc = (WXGC) XCreateGC (display, RootWindow (display, DefaultScreen (display)),
|
m_gc = (WXGC) XCreateGC (display, (Drawable)m_pixmap/* RootWindow (display, DefaultScreen (display)) */,
|
||||||
GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth | GCSubwindowMode,
|
GCForeground | GCBackground | GCGraphicsExposures | GCLineWidth | GCSubwindowMode,
|
||||||
&gcvalues);
|
&gcvalues);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user