#include "wx/dataobj.h"
#include "wx/mstream.h"
#include "wx/image.h"
+#include "wx/mac/private.h"
// ----------------------------------------------------------------------------
// functions
else if (m_type == wxDF_BITMAP || m_type == wxDF_METAFILE )
m_format = 'PICT';
else if (m_type == wxDF_FILENAME)
- m_format = 'SPEC';
+ m_format = kDragFlavorTypeHFS ;
else
{
wxFAIL_MSG( wxT("invalid dataformat") );
if (m_format == 'PICT')
m_type = wxDF_BITMAP;
else
- if (m_format == 'SPEC')
+ if (m_format == kDragFlavorTypeHFS )
m_type = wxDF_FILENAME;
else
m_type = wxDF_PRIVATE;
, const void* pBuf
)
{
- /* TODO */
+ m_filenames.Empty();
wxString sFile( (const char *)pBuf); /* char, not wxChar */