#include "wx/mac/uma.h"
#include "wx/mac/aga.h"
-#if !TARGET_CARBON
+#if 0 // TO BE REMOVED SOON
-#include <extcdef.h>
+//#include <extcdef.h>
#include <PictUtils.h>
pascal SInt32 AGAProgressBarDefProc (SInt16 procID, ControlHandle theControl, ControlDefProcMessage message, SInt32 param);
GetPenState( &oldPenState ) ;
GetBackColor( &oldBackColor ) ;
GetForeColor( &oldForeColor ) ;
-
+ wxASSERT( clip == NULL ) ;
clip = NewRgn() ;
GetClip( clip );
font = GetPortTextFont( newport);
if ( clip )
{
SetPort( nport ) ;
+ PenNormal() ;
SetClip( clip ) ;
DisposeRgn( clip ) ;
RGBForeColor(&oldForeColor);