From: Włodzimierz Skiba Date: Tue, 30 Nov 2004 18:52:47 +0000 (+0000) Subject: Additional wx*_HATCH styles comment. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/891479a2da0cb07ec4367f861d045adf7b2d52b5?ds=inline Additional wx*_HATCH styles comment. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 608182a9d6..a56564130f 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1808,12 +1808,13 @@ enum wxSTIPPLE_MASK, /* mask is used for masking areas in the stipple bitmap (TO DO) */ /* drawn with a Pen, and without any Brush -- and it can be stippled. */ wxSTIPPLE = 110, - wxBDIAGONAL_HATCH, - wxCROSSDIAG_HATCH, - wxFDIAGONAL_HATCH, - wxCROSS_HATCH, - wxHORIZONTAL_HATCH, - wxVERTICAL_HATCH, + + wxBDIAGONAL_HATCH, /* In wxWidgets < 2.6 use WX_HATCH macro */ + wxCROSSDIAG_HATCH, /* to verify these wx*_HATCH are in style */ + wxFDIAGONAL_HATCH, /* of wxBrush. In wxWidgets >= 2.6 use */ + wxCROSS_HATCH, /* wxBrush::IsHatch() instead. */ + wxHORIZONTAL_HATCH, /* Adding new hatch styles remember to */ + wxVERTICAL_HATCH, /* adjust style check accordingly. */ wxJOIN_BEVEL = 120, wxJOIN_MITER,