]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/clipbrd.cpp
added missing include file and conditional compilation
[wxWidgets.git] / src / mac / carbon / clipbrd.cpp
index f493b5bf6531b6dae7e88d5fc22682af9b2f4e85..2f7651852aa227aeb73b69186208187d936fceca 100644 (file)
@@ -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] ;