X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/936170f4070cb6eac25cbcd0f0015b03a607cec7..48f625bc2ce81132a2a8c2d7c524a03f1b7196e5:/src/generic/regiong.cpp diff --git a/src/generic/regiong.cpp b/src/generic/regiong.cpp index 99fd7cb8b8..92cbe6ad95 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