X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/936170f4070cb6eac25cbcd0f0015b03a607cec7..608f8a111b6149267dc58ba87ea8de2edb550685:/src/generic/regiong.cpp?ds=sidebyside diff --git a/src/generic/regiong.cpp b/src/generic/regiong.cpp index 99fd7cb8b8..0867643f0c 100644 --- a/src/generic/regiong.cpp +++ b/src/generic/regiong.cpp @@ -28,6 +28,7 @@ struct REGION public: // Default constructor initializes nothing REGION() {} + REGION(const wxRect& rect) { rects = &extents; @@ -38,7 +39,11 @@ public: extents.y2 = rect.y + rect.height; size = 1; } - BoxPtr GetBox(int i) { if(i