git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27919
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxDataObject;
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxDataObject;
-class WXDLLEXPORT wxClipboard : public wxObject
+class WXDLLEXPORT wxClipboard : public wxClipboardBase
{
DECLARE_DYNAMIC_CLASS(wxClipboard)
{
DECLARE_DYNAMIC_CLASS(wxClipboard)
virtual bool AddData( wxDataObject *data );
// ask if data in correct format is available
virtual bool AddData( wxDataObject *data );
// ask if data in correct format is available
- virtual bool IsSupported( wxDataFormat format );
+ virtual bool IsSupported( const wxDataFormat& format );
// fill data with data on the clipboard (if available)
virtual bool GetData( wxDataObject& data );
// fill data with data on the clipboard (if available)
virtual bool GetData( wxDataObject& data );
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxDataObject;
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxDataObject;
-class WXDLLEXPORT wxClipboard : public wxObject
+class WXDLLEXPORT wxClipboard : public wxClipboardBase
{
DECLARE_DYNAMIC_CLASS(wxClipboard)
{
DECLARE_DYNAMIC_CLASS(wxClipboard)
virtual bool AddData( wxDataObject *data );
// ask if data in correct format is available
virtual bool AddData( wxDataObject *data );
// ask if data in correct format is available
- virtual bool IsSupported( wxDataFormat format );
+ virtual bool IsSupported( const wxDataFormat& format );
// fill data with data on the clipboard (if available)
virtual bool GetData( wxDataObject& data );
// fill data with data on the clipboard (if available)
virtual bool GetData( wxDataObject& data );
-bool wxClipboard::IsSupported( wxDataFormat format )
+bool wxClipboard::IsSupported( const wxDataFormat& format )
{
return wxIsClipboardFormatAvailable(format);
}
{
return wxIsClipboardFormatAvailable(format);
}
-bool wxClipboard::IsSupported( wxDataFormat format )
+bool wxClipboard::IsSupported( const wxDataFormat& format )
{
return wxIsClipboardFormatAvailable(format);
}
{
return wxIsClipboardFormatAvailable(format);
}