X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e1bfb3c2a386f459af3c948beced23c47de4db1..da6f998486f1070e205f2e0a54f22a1b67cb32a4:/src/osx/carbon/dataobj.cpp diff --git a/src/osx/carbon/dataobj.cpp b/src/osx/carbon/dataobj.cpp index e02e880b1a..2b625d0e06 100644 --- a/src/osx/carbon/dataobj.cpp +++ b/src/osx/carbon/dataobj.cpp @@ -4,7 +4,6 @@ // Author: Stefan Csomor // Modified by: // Created: 10/21/99 -// RCS-ID: $Id$ // Copyright: (c) 1999 Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -260,7 +259,7 @@ bool wxDataObject::IsSupportedFormat( const wxDataFormat& rFormat, Direction vDi return found; } -void wxDataObject::AddToPasteboard( void * pb, int itemID ) +void wxDataObject::AddToPasteboard( void * pb, wxIntPtr itemID ) { PasteboardRef pasteboard = (PasteboardRef) pb; // get formats from wxDataObjects @@ -302,7 +301,7 @@ void wxDataObject::AddToPasteboard( void * pb, int itemID ) memset( buf, 0, sz ); if ( GetDataHere( thisFormat, buf ) ) { - int counter = 1 ; + wxIntPtr counter = 1 ; if ( thisFormat.GetType() == wxDF_FILENAME ) { // the data is D-normalized UTF8 strings of filenames delimited with \n