Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b0b71b31c3
commit
b916f71245
@ -18,6 +18,9 @@ public:
|
||||
wxRegionGeneric(wxCoord x, wxCoord y, wxCoord w, wxCoord h);
|
||||
wxRegionGeneric(const wxPoint& topLeft, const wxPoint& bottomRight);
|
||||
wxRegionGeneric(const wxRect& rect);
|
||||
wxRegionGeneric(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE);
|
||||
wxRegionGeneric(const wxBitmap& bmp);
|
||||
wxRegionGeneric(const wxBitmap& bmp, const wxColour& transp, int tolerance = 0);
|
||||
wxRegionGeneric();
|
||||
virtual ~wxRegionGeneric();
|
||||
|
||||
|
@ -271,6 +271,21 @@ wxRegionGeneric::wxRegionGeneric(const wxPoint& topLeft, const wxPoint& bottomRi
|
||||
m_refData = new wxRegionRefData(topLeft, bottomRight);
|
||||
}
|
||||
|
||||
wxRegionGeneric::wxRegionGeneric(const wxBitmap& bmp)
|
||||
{
|
||||
wxFAIL_MSG("NOT IMPLEMENTED: wxRegionGeneric::wxRegionGeneric(const wxBitmap& bmp)");
|
||||
}
|
||||
|
||||
wxRegionGeneric::wxRegionGeneric(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle)
|
||||
{
|
||||
wxFAIL_MSG("NOT IMPLEMENTED: wxRegionGeneric::wxRegionGeneric(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle)");
|
||||
}
|
||||
|
||||
wxRegionGeneric::wxRegionGeneric(const wxBitmap& bmp, const wxColour& transp, int tolerance)
|
||||
{
|
||||
wxFAIL_MSG("NOT IMPLEMENTED: wxRegionGeneric::wxRegionGeneric(const wxBitmap& bmp, const wxColour& transp, int tolerance)");
|
||||
}
|
||||
|
||||
void wxRegionGeneric::Clear()
|
||||
{
|
||||
UnRef();
|
||||
|
Loading…
Reference in New Issue
Block a user