proper guard for bitmap constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,6 +23,7 @@ public:
|
|||||||
wxRegion( WXHRGN hRegion );
|
wxRegion( WXHRGN hRegion );
|
||||||
wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE );
|
wxRegion(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE );
|
||||||
wxRegion();
|
wxRegion();
|
||||||
|
#if wxUSE_IMAGE
|
||||||
wxRegion(const wxBitmap& bmp)
|
wxRegion(const wxBitmap& bmp)
|
||||||
{
|
{
|
||||||
Union(bmp);
|
Union(bmp);
|
||||||
@@ -32,6 +33,7 @@ public:
|
|||||||
{
|
{
|
||||||
Union(bmp, transColour, tolerance);
|
Union(bmp, transColour, tolerance);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
virtual ~wxRegion();
|
virtual ~wxRegion();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user