Only declare wxSetClipboardData() in wxMSW when it's defined

This is only the case when full OLE support is disabled.

See https://github.com/wxWidgets/wxWidgets/pull/491
This commit is contained in:
Vadim Zeitlin 2017-06-01 00:38:08 +02:00
parent 9b97be52c6
commit 60d9f403a2

View File

@ -24,9 +24,11 @@ WXDLLIMPEXP_CORE bool wxCloseClipboard();
// get/set data
WXDLLIMPEXP_CORE bool wxEmptyClipboard();
#if !wxUSE_OLE
WXDLLIMPEXP_CORE bool wxSetClipboardData(wxDataFormat dataFormat,
const void *data,
int width = 0, int height = 0);
#endif // !wxUSE_OLE
// clipboard formats
WXDLLIMPEXP_CORE bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);