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:
@@ -24,9 +24,11 @@ WXDLLIMPEXP_CORE bool wxCloseClipboard();
|
|||||||
|
|
||||||
// get/set data
|
// get/set data
|
||||||
WXDLLIMPEXP_CORE bool wxEmptyClipboard();
|
WXDLLIMPEXP_CORE bool wxEmptyClipboard();
|
||||||
|
#if !wxUSE_OLE
|
||||||
WXDLLIMPEXP_CORE bool wxSetClipboardData(wxDataFormat dataFormat,
|
WXDLLIMPEXP_CORE bool wxSetClipboardData(wxDataFormat dataFormat,
|
||||||
const void *data,
|
const void *data,
|
||||||
int width = 0, int height = 0);
|
int width = 0, int height = 0);
|
||||||
|
#endif // !wxUSE_OLE
|
||||||
|
|
||||||
// clipboard formats
|
// clipboard formats
|
||||||
WXDLLIMPEXP_CORE bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
|
WXDLLIMPEXP_CORE bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
|
||||||
|
Reference in New Issue
Block a user