From 2e99f815328a471c30fb51700917775a872dd65a Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 5 Apr 2002 07:08:48 +0000 Subject: [PATCH] Committing in . Complile issues for OpenVMS + obvious typo in wxWindows/src/motif/dcclient.cpp Modified Files: wxWindows/src/common/descrip.mms wxWindows/src/motif/dcclient.cpp wxWindows/src/unix/utilsunx.cpp ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/descrip.mms | 3 +++ src/motif/dcclient.cpp | 2 +- src/unix/utilsunx.cpp | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/common/descrip.mms b/src/common/descrip.mms index 6e017756ee..044ad827e8 100644 --- a/src/common/descrip.mms +++ b/src/common/descrip.mms @@ -99,6 +99,7 @@ OBJECTS1=fs_inet.obj,\ imagall.obj,\ imagbmp.obj,\ image.obj,\ + imagfill.obj,\ imaggif.obj,\ imagiff.obj,\ imagjpeg.obj,\ @@ -218,6 +219,7 @@ SOURCES = \ imagall.cpp,\ imagbmp.cpp,\ image.cpp,\ + imagfill.cpp,\ imaggif.cpp,\ imagiff.cpp,\ imagjpeg.cpp,\ @@ -375,6 +377,7 @@ iconbndl.obj : iconbndl.cpp imagall.obj : imagall.cpp imagbmp.obj : imagbmp.cpp image.obj : image.cpp +imagfill.obj : imagfill.cpp imaggif.obj : imaggif.cpp imagiff.obj : imagiff.cpp imagjpeg.obj : imagjpeg.cpp diff --git a/src/motif/dcclient.cpp b/src/motif/dcclient.cpp index e9d28fdb10..7b126fc446 100644 --- a/src/motif/dcclient.cpp +++ b/src/motif/dcclient.cpp @@ -257,7 +257,7 @@ void wxWindowDC::DoFloodFill( wxCoord x1, wxCoord y1, memdc.SelectObject(wxNullBitmap); wxImage image(bitmap); - image.DoFloodFill (x,y, GetBrush(), col, style, GetLogicalFunction()); + image.DoFloodFill (x1,y1, GetBrush(), col, style, GetLogicalFunction()); bitmap = wxBitmap(image); memdc.SelectObject(bitmap); this->Blit(0, 0, width, height, &memdc, 0, 0); diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 94ecc08e2d..b372b21c34 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -651,12 +651,14 @@ long wxExecute(wxChar **argv, close(fd); } - if ( flags & wxEXEC_MAKE_GROUP_LEADER ) +#ifndef __VMS + if ( flags & wxEXEC_MAKE_GROUP_LEADER ) { // Set process group to child process' pid. Then killing -pid // of the parent will kill the process and all of its children. setsid(); } +#endif } // redirect stdio, stdout and stderr