- // NOTE: Any call to this method will result into linking against libxml
- // and app's binary size will grow by ca. 250kB
- bool Load(const wxString& filename, wxXmlIOType io_type = wxXML_IO_AUTO);
- bool Load(wxInputStream& stream, wxXmlIOType io_type = wxXML_IO_AUTO);
+ bool Load(const wxString& filename,
+ wxXmlIOType io_type = wxXML_IO_AUTO,
+ const wxString& encoding = wxT("UTF-8"));
+ bool Load(wxInputStream& stream,
+ wxXmlIOType io_type = wxXML_IO_AUTO,
+ const wxString& encoding = wxT("UTF-8"));