git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74852
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
#endif
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
- void AddToPasteboard( void * pasteboardRef , int itemID );
+ void AddToPasteboard( void * pasteboardRef , wxIntPtr itemID );
// returns true if the passed in format is present in the pasteboard
static bool IsFormatInPasteboard( void * pasteboardRef, const wxDataFormat &dataFormat );
// returns true if any of the accepted formats of this dataobj is in the pasteboard
// returns true if the passed in format is present in the pasteboard
static bool IsFormatInPasteboard( void * pasteboardRef, const wxDataFormat &dataFormat );
// returns true if any of the accepted formats of this dataobj is in the pasteboard
-void wxDataObject::AddToPasteboard( void * pb, int itemID )
+void wxDataObject::AddToPasteboard( void * pb, wxIntPtr itemID )
{
PasteboardRef pasteboard = (PasteboardRef) pb;
// get formats from wxDataObjects
{
PasteboardRef pasteboard = (PasteboardRef) pb;
// get formats from wxDataObjects
memset( buf, 0, sz );
if ( GetDataHere( thisFormat, buf ) )
{
memset( buf, 0, sz );
if ( GetDataHere( thisFormat, buf ) )
{
if ( thisFormat.GetType() == wxDF_FILENAME )
{
// the data is D-normalized UTF8 strings of filenames delimited with \n
if ( thisFormat.GetType() == wxDF_FILENAME )
{
// the data is D-normalized UTF8 strings of filenames delimited with \n
// ----------------------------------------------------------------------------
bool wxHIDDevice::HasElement(int nIndex)
{
// ----------------------------------------------------------------------------
bool wxHIDDevice::HasElement(int nIndex)
{
- return (void*) m_pCookies[nIndex] != NULL;
+ return m_pCookies[nIndex] != 0;
}
// ----------------------------------------------------------------------------
}
// ----------------------------------------------------------------------------