// headers
// ----------------------------------------------------------------------------
+#include "wx/dataobj.h"
+
#ifndef WX_PRECOMP
#include "wx/intl.h"
+ #include "wx/log.h"
+ #include "wx/image.h"
#endif
-#include "wx/log.h"
-#include "wx/dataobj.h"
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/mac/private.h"
#include <Scrap.h>
bool wxFileDataObject::GetDataHere( void* pBuf ) const
{
- wxString sFilenames;
+ wxString sFilenames;
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
sFilenames += (wxChar)0;
}
- memcpy(pBuf, sFilenames.mbc_str(), sFilenames.Len() + 1);
+ memcpy(pBuf, sFilenames.mbc_str(), sFilenames.length() + 1);
return true;
}
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
- nRes += m_filenames[i].Len();
+ nRes += m_filenames[i].length();
nRes += 1;
}