+#if defined(__WXMSW__)
+
+size_t wxDataObjectComposite::GetBufferOffset( const wxDataFormat& format )
+{
+ wxDataObjectSimple *dataObj = GetObject(format);
+
+ wxCHECK_MSG( dataObj, 0,
+ wxT("unsupported format in wxDataObjectComposite"));
+
+ return dataObj->GetBufferOffset( format );
+}
+
+
+const void* wxDataObjectComposite::GetSizeFromBuffer( const void* buffer,
+ size_t* size,
+ const wxDataFormat& format )
+{
+ wxDataObjectSimple *dataObj = GetObject(format);
+
+ wxCHECK_MSG( dataObj, NULL,
+ wxT("unsupported format in wxDataObjectComposite"));
+
+ return dataObj->GetSizeFromBuffer( buffer, size, format );
+}
+
+
+void* wxDataObjectComposite::SetSizeInBuffer( void* buffer, size_t size,
+ const wxDataFormat& format )
+{
+ wxDataObjectSimple *dataObj = GetObject(format);
+
+ wxCHECK_MSG( dataObj, NULL,
+ wxT("unsupported format in wxDataObjectComposite"));
+
+ return dataObj->SetSizeInBuffer( buffer, size, format );
+}
+
+#endif
+