X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0822896b3354f8698835d234ce2655daa640704..4eb1fe9da6dbf2a82876547b6f69836e086f22e7:/src/mac/clipbrd.cpp diff --git a/src/mac/clipbrd.cpp b/src/mac/clipbrd.cpp index cb69904f95..2f7651852a 100644 --- a/src/mac/clipbrd.cpp +++ b/src/mac/clipbrd.cpp @@ -80,7 +80,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len) } else { - delete[] data ; + delete[] ((char *)data) ; data = NULL ; } } @@ -363,11 +363,6 @@ bool wxClipboard::GetData( wxDataObject& data ) /* get formats from wxDataObjects */ if ( !transferred ) { - #if !TARGET_CARBON - OSErr err = noErr ; - #else - OSStatus err = noErr ; - #endif for (size_t i = 0; !transferred && i < formatcount ; i++) { wxDataFormat format = array[i] ;