equal
deleted
inserted
replaced
31 }; |
31 }; |
32 |
32 |
33 CocoaInitializer::CocoaInitializer() |
33 CocoaInitializer::CocoaInitializer() |
34 { |
34 { |
35 c = new CocoaInitializer::Private(); |
35 c = new CocoaInitializer::Private(); |
|
36 c->pool = [[NSAutoreleasePool alloc] init]; |
36 NSApplicationLoad(); |
37 NSApplicationLoad(); |
37 c->pool = [[NSAutoreleasePool alloc] init]; |
|
38 } |
38 } |
39 |
39 |
40 CocoaInitializer::~CocoaInitializer() |
40 CocoaInitializer::~CocoaInitializer() |
41 { |
41 { |
42 [c->pool release]; |
42 [c->pool release]; |