#include <wx/dcsvg.h>
RAII helper that opens an accessible group on a wxSVGFileDC when constructed and closes it when destroyed.
Use it in place of a manual wxSVGFileDC::BeginAccessibleGroup() / wxSVGFileDC::EndAccessibleGroup() pair so the group is reliably closed on scope exit.
Example:
Public Member Functions | |
| wxSVGAccessibleGroup (wxSVGFileDC &dc, const wxSVGAttributes &attributes, const wxString &title=wxString(), const wxString &desc=wxString()) | |
| Opens an accessible group on dc with the given attributes and optional title and desc children. | |
| ~wxSVGAccessibleGroup () | |
| Closes the accessible group opened by the constructor. | |
| wxSVGAccessibleGroup::wxSVGAccessibleGroup | ( | wxSVGFileDC & | dc, |
| const wxSVGAttributes & | attributes, | ||
| const wxString & | title = wxString(), | ||
| const wxString & | desc = wxString() ) |
Opens an accessible group on dc with the given attributes and optional title and desc children.
| wxSVGAccessibleGroup::~wxSVGAccessibleGroup | ( | ) |
Closes the accessible group opened by the constructor.