#include "wx/intl.h"
#include "wx/log.h"
#include "wx/dcmemory.h"
+ #include "wx/image.h"
#endif
#include "wx/mstream.h"
-#include "wx/image.h"
#include "wx/metafile.h"
#include "wx/tokenzr.h"
#if wxUSE_UNICODE
filenames = wxString( (const char*)pBuf, *wxConvFileName );
#else
- filenames = wxString( wxConvFileName->cMB2WX( (const char*)pBuf ), wxConvLocal );
+ filenames = wxString (wxConvLocal.cWC2WX(wxConvFileName->cMB2WC( (const char*)pBuf)));
#endif
m_filenames = wxStringTokenize( filenames, wxT("\n"), wxTOKEN_STRTOK );
{
if (m_pictHandle != NULL)
{
+#ifndef __LP64__
if (m_pictCreated)
KillPicture( (PicHandle)m_pictHandle );
+#endif
m_pictHandle = NULL;
}
// ownership is transferred to the bitmap
m_pictCreated = false;
+#ifndef __LP64__
Rect frame;
wxMacGetPictureBounds( picHandle, &frame );
mdc.SelectObject( m_bitmap );
mf.Play( &mdc );
mdc.SelectObject( wxNullBitmap );
+#endif
return m_bitmap.Ok();
}