fixed wxXmlDocument::Save() to interpret the indentstep argument correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -265,8 +265,8 @@ public:
|
||||
const wxString& encoding = wxT("UTF-8"), int flags = wxXMLDOC_NONE);
|
||||
|
||||
// Saves document as .xml file.
|
||||
virtual bool Save(const wxString& filename, int indentstep = 1) const;
|
||||
virtual bool Save(wxOutputStream& stream, int indentstep = 1) const;
|
||||
virtual bool Save(const wxString& filename, int indentstep = 2) const;
|
||||
virtual bool Save(wxOutputStream& stream, int indentstep = 2) const;
|
||||
|
||||
bool IsOk() const { return m_root != NULL; }
|
||||
|
||||
|
Reference in New Issue
Block a user