diff options
Diffstat (limited to 'Mac/Python/gusiconfig.cpp')
-rw-r--r-- | Mac/Python/gusiconfig.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Mac/Python/gusiconfig.cpp b/Mac/Python/gusiconfig.cpp index db46619..8b1a1fa 100644 --- a/Mac/Python/gusiconfig.cpp +++ b/Mac/Python/gusiconfig.cpp @@ -48,8 +48,11 @@ void GUSISetupFactories() #ifdef GUSISetupFactories_BeginHook GUSISetupFactories_BeginHook #endif -// GUSIwithInetSockets(); +#if TARGET_API_MAC_CARBON + GUSIwithInetSockets(); +#else GUSIwithMTInetSockets(); +#endif #ifdef GUSISetupFactories_EndHook GUSISetupFactories_EndHook #endif @@ -119,9 +122,11 @@ extern "C" void GUSISetupConfig() if ( prefrh != -1) CloseResFile(prefrh); UseResFile(oldrh); - config->ConfigureDefaultTypeCreator('TEXT', 'ttxt'); + config->ConfigureDefaultTypeCreator('TEXT', 'R*ch'); +#if 0 config->ConfigureSuffices( sizeof(sSuffices)/sizeof(GUSIConfiguration::FileSuffix)-1, sSuffices); +#endif config->ConfigureAutoInitGraf(false); config->ConfigureAutoSpin(false); config->ConfigureHandleAppleEvents(false); |