X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d318df4bbbd981948c27adc96d5cb3d293bbdfb5..b103e4f3d5ee8fef8649c4723f47be9c36a2c3ff:/include/wx/cocoa/region.h diff --git a/include/wx/cocoa/region.h b/include/wx/cocoa/region.h index 3ecf89882f..e15bb3fc80 100644 --- a/include/wx/cocoa/region.h +++ b/include/wx/cocoa/region.h @@ -12,7 +12,7 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "region.h" #endif @@ -64,6 +64,9 @@ public: // Clear current region void Clear(); + // Move the region + bool Offset(wxCoord x, wxCoord y); + // Union rectangle or region with this. bool Union(long x, long y, long width, long height) { return Combine(x, y, width, height, wxRGN_OR); }