// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
wxScreenDC::wxScreenDC()
{
#if TARGET_CARBON
- m_macPort = GetQDGlobalsThePort() ;
+ m_macPort = CreateNewPort() ;
GrafPtr port ;
GetPort( &port ) ;
SetPort( (GrafPtr) m_macPort ) ;
}
wxScreenDC::~wxScreenDC()
-{
- // TODO
+{
+ DisposePort( (CGrafPtr) m_macPort ) ;
}