# include <PMCore.h>
# endif
# include <PMApplication.h>
+# else
+# include <Printing.h>
# endif
#endif
if ( menuMgrAttr & gestaltMenuMgrAquaLayoutMask )
sUMAHasAquaLayout = true ;
sUMASystemInitialized = true ;
+
}
+/*
+Boolean CanUseATSUI()
+ {
+ long result;
+ OSErr err = Gestalt(gestaltATSUVersion, &result);
+ return (err == noErr);
+ }
+*/
// process manager
long UMAGetProcessMode()
{
{
wxASSERT( inWindowRef != NULL ) ;
#if TARGET_CARBON
- return GetWindowPort( inWindowRef ) ;
+ return (GrafPtr) GetWindowPort( inWindowRef ) ;
#else
return (GrafPtr) inWindowRef ;
#endif