update to make digitalmars compile/link html\test sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -410,6 +410,20 @@ STDMETHODIMP wxIDataObject::GetDataHere(FORMATETC *pformatetc,
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
#ifdef __DIGITALMARS__
|
||||
extern "C"
|
||||
size_t wxDataObjectComposite::GetBufferOffset( const wxDataFormat& format );
|
||||
|
||||
extern "C"
|
||||
const void* wxDataObjectComposite::GetSizeFromBuffer( const void* buffer,
|
||||
size_t* size,
|
||||
const wxDataFormat& format ) ;
|
||||
extern "C"
|
||||
void* wxDataObjectComposite::SetSizeInBuffer( void* buffer, size_t size,
|
||||
const wxDataFormat& format ) ;
|
||||
|
||||
#endif
|
||||
|
||||
// set data functions
|
||||
STDMETHODIMP wxIDataObject::SetData(FORMATETC *pformatetc,
|
||||
STGMEDIUM *pmedium,
|
||||
@@ -959,6 +973,12 @@ bool wxBitmapDataObject::SetData(const wxDataFormat& format,
|
||||
|
||||
bool wxFileDataObject::SetData(size_t WXUNUSED(size), const void *pData)
|
||||
{
|
||||
//FIX ME __DIGITALMARS__
|
||||
#if defined (__DIGITALMARS__)
|
||||
//DragQueryFile not in any library
|
||||
wxLogDebug(wxT("In wxFileDataObject::SetData code not executed - no Digital Mars library "));
|
||||
return FALSE;
|
||||
#endif
|
||||
m_filenames.Empty();
|
||||
|
||||
// the documentation states that the first member of DROPFILES structure is
|
||||
|
Reference in New Issue
Block a user