#endif
}
+bool wxClipboard::IsOpened() const
+{
+#if wxUSE_OLE_CLIPBOARD
+ return TRUE;
+#else
+ return wxIsClipboardOpened();
+#endif
+}
+
bool wxClipboard::SetData( wxDataObject *data )
{
(void)wxEmptyClipboard();
}
// build the list of supported formats
- size_t nFormats = data->GetFormatCount(FALSE /* for SetData() */);
+ size_t nFormats = data->GetFormatCount(wxDataObject::Set);
wxDataFormat format, *formats;
if ( nFormats == 1 )
{
formats = new wxDataFormat[nFormats];
}
- data->GetAllFormats(formats, FALSE);
+ data->GetAllFormats(formats, wxDataObject::Set);
// get the format enumerator
bool result = FALSE;