fixing length param, see #10846

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-05-28 09:59:32 +00:00
parent f6363458bc
commit 353249a8e7

View File

@@ -190,7 +190,7 @@ void wxMemoryFSHandlerBase::AddFileWithMimeType(const wxString& filename,
(
filename,
static_cast<const char *>(textdata.To8BitData()),
data.length(),
wxStrlen(static_cast<const char *>(textdata.To8BitData())),
mimetype
);
}