scrap.h removal

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-05-22 06:02:49 +00:00
parent a4f7b8fde3
commit f6b5742d33
4 changed files with 1 additions and 28 deletions

View File

@@ -27,10 +27,6 @@
#include "wx/metafile.h"
#ifndef __DARWIN__
#include <Scrap.h>
#endif
#include "wx/mac/uma.h"
#define wxUSE_DATAOBJ 1

View File

@@ -29,9 +29,7 @@
#include "wx/mac/uma.h"
#ifndef __DARWIN__
#include <Scrap.h>
#else
#ifdef __DARWIN__
#include <QuickTime/QuickTime.h>
#endif

View File

@@ -23,11 +23,6 @@
#include "wx/mac/private.h"
#ifndef __DARWIN__
#include <Scrap.h>
#endif
// ----------------------------------------------------------------------------
// globals
// ----------------------------------------------------------------------------

View File

@@ -726,22 +726,6 @@ wxMacPortStateHelper::~wxMacPortStateHelper()
#endif
OSStatus UMAPutScrap( Size size , OSType type , void *data )
{
OSStatus err = noErr ;
#if !TARGET_CARBON
err = PutScrap( size , type , data ) ;
#else
ScrapRef scrap;
err = GetCurrentScrap( &scrap );
if ( err == noErr )
err = PutScrapFlavor( scrap, type , 0, size, data );
#endif
return err ;
}
Rect * UMAGetControlBoundsInWindowCoords( ControlRef theControl, Rect *bounds )
{
GetControlBounds( theControl , bounds ) ;