]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcclient.cpp
test
[wxWidgets.git] / src / motif / dcclient.cpp
index c013b9fe8b084363f6ec706deb62fde02ea244ff..eb820900e7e317077f8e1fc8347bc126e22116ad 100644 (file)
 
 #include <math.h>
 
+#ifdef __VMS__
+#pragma message disable nosimpint
+#endif
 #include <Xm/Xm.h>
+#ifdef __VMS__
+#pragma message enable nosimpint
+#endif
 
 #include "wx/motif/private.h"
 
@@ -2284,6 +2290,9 @@ wxPaintDC::wxPaintDC(wxWindow* win) : wxWindowDC(win)
 
     win->SetUpdateRegion(*region);
 
+    wxRegion& theRegion(win->GetUpdateRegion());
+    theRegion.SetRects(updateRects); // We also store in terms of rects, for iteration to work.
+
     // Set the clipping region. Any user-defined region will be combined with this
     // one in SetDCClipping.
     XSetRegion ((Display*) m_display, (GC) m_gc, (Region) region->GetXRegion());