X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/232b005197d3ad1efd4d49f281a048f3c7ef03c3..fea2b62e8ef6d1dbaeea1d5506630ead9ccc23d0:/src/msw/ole/dataobj.cpp diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index 65151fbf5e..e816a3d629 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -685,13 +685,13 @@ void wxDataObject::SetAutoDelete() m_pIDataObject = NULL; } -size_t wxDataObject::GetBufferOffset( const wxDataFormat& format ) +size_t wxDataObject::GetBufferOffset( const wxDataFormat& WXUNUSED(format) ) { return sizeof(size_t); } const void* wxDataObject::GetSizeFromBuffer( const void* buffer, size_t* size, - const wxDataFormat& format ) + const wxDataFormat& WXUNUSED(format) ) { size_t* p = (size_t*)buffer; *size = *p; @@ -700,7 +700,7 @@ const void* wxDataObject::GetSizeFromBuffer( const void* buffer, size_t* size, } void* wxDataObject::SetSizeInBuffer( void* buffer, size_t size, - const wxDataFormat& format ) + const wxDataFormat& WXUNUSED(format) ) { size_t* p = (size_t*)buffer; *p = size; @@ -1070,13 +1070,13 @@ class CFSTR_SHELLURLDataObject:public wxCustomDataObject public: CFSTR_SHELLURLDataObject() : wxCustomDataObject(CFSTR_SHELLURL) {} protected: - virtual size_t GetBufferOffset( const wxDataFormat& format ) + virtual size_t GetBufferOffset( const wxDataFormat& WXUNUSED(format) ) { return 0; } virtual const void* GetSizeFromBuffer( const void* buffer, size_t* size, - const wxDataFormat& format ) + const wxDataFormat& WXUNUSED(format) ) { // CFSTR_SHELLURL is _always_ ANSI text *size = strlen( (const char*)buffer ); @@ -1084,8 +1084,8 @@ protected: return buffer; } - virtual void* SetSizeInBuffer( void* buffer, size_t size, - const wxDataFormat& format ) + virtual void* SetSizeInBuffer( void* buffer, size_t WXUNUSED(size), + const wxDataFormat& WXUNUSED(format) ) { return buffer; }