X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2dab12be4938d82b478272c77664dff36053ea32..81ce36aa591e89a802e0d900ac3c4bdbbacce48c:/src/os2/clipbrd.cpp diff --git a/src/os2/clipbrd.cpp b/src/os2/clipbrd.cpp index 9c0ed072cf..efb52d4ea3 100644 --- a/src/os2/clipbrd.cpp +++ b/src/os2/clipbrd.cpp @@ -44,7 +44,7 @@ #if wxUSE_DRAG_AND_DROP #include "wx/dataobj.h" - static bool wxSetClipboardData(wxDataObject *data); +// static bool wxSetClipboardData(wxDataObject *data); #endif // =========================================================================== @@ -124,6 +124,7 @@ bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat) return FALSE; } +#if 0 #if wxUSE_DRAG_AND_DROP static bool wxSetClipboardData(wxDataObject *data) { @@ -157,6 +158,7 @@ static bool wxSetClipboardData(wxDataObject *data) return TRUE; } #endif // wxUSE_DRAG_AND_DROP +#endif bool wxSetClipboardData(wxDataFormat dataFormat, const void *data, @@ -281,7 +283,7 @@ bool wxSetClipboardData(wxDataFormat dataFormat, void *wxGetClipboardData(wxDataFormat dataFormat, long *len) { - void *retval = NULL; +// void *retval = NULL; // TODO: /* switch ( dataFormat ) @@ -530,7 +532,7 @@ void wxClipboard::Close() wxCloseClipboard(); } -bool wxClipboard::IsSupported( wxDataFormat format ) +bool wxClipboard::IsSupported( const wxDataFormat& format ) { return wxIsClipboardFormatAvailable(format); }