X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a59178a5280adfe711ef41d02a446a61a2790a1..f9007c324c9b4f6288156dcf0b865090ee0c0c38:/src/common/dobjcmn.cpp diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 93a2d21d23..6560200b01 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -6,7 +6,7 @@ // Created: 19.10.99 // RCS-ID: $Id$ // Copyright: (c) wxWindows Team -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -141,7 +141,9 @@ wxDataObjectComposite::GetPreferredFormat(Direction WXUNUSED(dir)) const } #if defined(__WXMSW__) - +#ifdef __DIGITALMARS__ +extern "C" +#endif size_t wxDataObjectComposite::GetBufferOffset( const wxDataFormat& format ) { wxDataObjectSimple *dataObj = GetObject(format); @@ -152,6 +154,9 @@ size_t wxDataObjectComposite::GetBufferOffset( const wxDataFormat& format ) return dataObj->GetBufferOffset( format ); } +#ifdef __DIGITALMARS__ +extern "C" +#endif const void* wxDataObjectComposite::GetSizeFromBuffer( const void* buffer, size_t* size, const wxDataFormat& format ) @@ -164,6 +169,9 @@ const void* wxDataObjectComposite::GetSizeFromBuffer( const void* buffer, return dataObj->GetSizeFromBuffer( buffer, size, format ); } +#ifdef __DIGITALMARS__ +extern "C" +#endif void* wxDataObjectComposite::SetSizeInBuffer( void* buffer, size_t size, const wxDataFormat& format ) {