#if wxUSE_DATAOBJ
+#include "wx/dataobj.h"
+
#ifndef WX_PRECOMP
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/image.h"
#endif
-#include "wx/dataobj.h"
#include "wx/mstream.h"
#include "wx/os2/private.h"
} // end of wxDataFormat::GetId()
void wxDataFormat::SetId (
- const wxChar* zId
+ const wxString& zId
)
{
m_uFormat = ::WinAddAtom( ::WinQuerySystemAtomTable()
- ,(PSZ)zId
+ ,zId.char_str()
);
} // end of wxDataFormat::SetId