Added internal wxHatchStyle enum.

It's annoying that the same code for hatched pens and brushes can't be reused
without relying on deprecated wxXXX_HATCH constants, so add new,
non-deprecated, wxHatchStyle enum that can be used in such code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-06-30 23:41:15 +00:00
parent e269b28e8e
commit c17eafaaf1
5 changed files with 62 additions and 35 deletions

View File

@@ -64,8 +64,11 @@ enum wxPenStyle
wxPENSTYLE_VERTICAL_HATCH,
/**< Vertical hatch. */
wxPENSTYLE_FIRST_HATCH = wxPENSTYLE_BDIAGONAL_HATCH,
wxPENSTYLE_LAST_HATCH = wxPENSTYLE_VERTICAL_HATCH
wxPENSTYLE_FIRST_HATCH,
/**< First of the hatch styles (inclusive). */
wxPENSTYLE_LAST_HATCH
/**< Last of the hatch styles (inclusive). */
};
/**