Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-07-03 19:02:54 +00:00
parent 67193066b2
commit 155ecd4c42
73 changed files with 132 additions and 169 deletions

View File

@@ -17,10 +17,10 @@
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
#include "wx/image.h"
#endif
#include "wx/mstream.h"
#include "wx/image.h"
#include "wx/uri.h"
#include <gdk/gdk.h>
@@ -236,7 +236,7 @@ bool wxFileDataObject::GetDataHere(void *buf) const
filenames += wxT("\r\n");
}
memcpy( buf, filenames.mbc_str(), filenames.Len() + 1 );
memcpy( buf, filenames.mbc_str(), filenames.length() + 1 );
return true;
}
@@ -248,7 +248,7 @@ size_t wxFileDataObject::GetDataSize() const
for (size_t i = 0; i < m_filenames.GetCount(); i++)
{
// This is junk in UTF-8
res += m_filenames[i].Len();
res += m_filenames[i].length();
res += 5 + 2; // "file:" (5) + "\r\n" (2)
}