various changes to get up to date with CVS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-09-25 20:22:58 +00:00
parent f87d0500fa
commit f5263701c2
23 changed files with 1547 additions and 58 deletions

View File

@@ -40,6 +40,27 @@ enum wxRegionContain
};
// // these constants are used with wxRegion::Combine() in the ports which have
// // this method
// enum wxRegionOp
// {
// // Creates the intersection of the two combined regions.
// wxRGN_AND,
// // Creates a copy of the region
// wxRGN_COPY,
// // Combines the parts of first region that are not in the second one
// wxRGN_DIFF,
// // Creates the union of two combined regions.
// wxRGN_OR,
// // Creates the union of two regions except for any overlapping areas.
// wxRGN_XOR
// };
MustHaveApp(wxRegion);
@@ -72,6 +93,9 @@ public:
bool IsEmpty();
// Is region equal (i.e. covers the same area as another one)?
bool IsEqual(const wxRegion& region) const;
bool Union(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
%Rename(UnionRect, bool, Union(const wxRect& rect));
%Rename(UnionRegion, bool, Union(const wxRegion& region));
@@ -97,8 +121,12 @@ public:
const wxColour& transColour,
int tolerance = 0));
// bool Combine(wxCoord x, wxCoord y, wxCoord w, wxCoord h, wxRegionOp op);
// %Rename(CombineRect, bool , Combine(const wxRect& rect, wxRegionOp op));
// %Rename(CombineRegion, bool , Combine(const wxRegion& region, wxRegionOp op));
%property(Box, GetBox, doc="See `GetBox`");
%property(Box, GetBox, doc="See `GetBox`");
};