wxClipboard::IsOpened() and wxCLipboardLocker helper class added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-21 13:56:34 +00:00
parent 51d7e4e762
commit f536e0f24b
7 changed files with 61 additions and 0 deletions

View File

@@ -474,6 +474,15 @@ bool wxClipboard::Open()
#endif
}
bool wxClipboard::IsOpened() const
{
#if wxUSE_OLE_CLIPBOARD
return TRUE;
#else
return wxIsClipboardOpened();
#endif
}
bool wxClipboard::SetData( wxDataObject *data )
{
(void)wxEmptyClipboard();