Use wxFileName in wxSVGBitmapFileHandler constructor

This commit is contained in:
Maarten Bent
2019-04-23 21:20:02 +02:00
parent 7e49a3e6c0
commit e32721247a
3 changed files with 8 additions and 8 deletions

View File

@@ -180,7 +180,7 @@ public:
When using wxSVGFileDC::SetBitmapHandler() to set this handler with the
default constructor, the PNG files are created in the runtime location of
the application. The save location can be customized by using the
wxSVGBitmapFileHandler(const wxString&) constructor.
wxSVGBitmapFileHandler(const wxFileName&) constructor.
@see wxSVGFileDC::SetBitmapHandler().
@@ -196,13 +196,12 @@ public:
Create a wxSVGBitmapFileHandler and specify the location where the file
will be saved.
@param path The path (with separator) of the save location. If
@a path contains a filename, the autogenerated filename will be
appended to this name.
@param path The path of the save location. If @a path contains a
filename, the autogenerated filename will be appended to this name.
@since 3.1.3
*/
wxSVGBitmapFileHandler(const wxString& path);
wxSVGBitmapFileHandler(const wxFileName& path);
virtual bool ProcessBitmap(const wxBitmap& bitmap,
wxCoord x, wxCoord y,