Add wxBitmapBundle::FromSVGFile() helper
This is just a trivial wrapper for wxBitmapBundle::FromSVG(), but it can still be convenient to have.
This commit is contained in:
parent
5efcaf4e59
commit
8adfaa37f7
10 changed files with 74 additions and 4 deletions
|
|
@ -82,6 +82,9 @@ public:
|
|||
|
||||
// This overload currently makes a copy of the data.
|
||||
static wxBitmapBundle FromSVG(const char* data, const wxSize& sizeDef);
|
||||
|
||||
// Load SVG image from the given file (must be a local file, not an URL).
|
||||
static wxBitmapBundle FromSVGFile(const wxString& path, const wxSize& sizeDef);
|
||||
#endif // wxHAS_SVG
|
||||
|
||||
// Create from the resources: all existing versions of the bitmap of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue