Comment out popup encoding only for __APPLE__

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13287 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-04-01 18:16:36 +00:00
parent 354b959318
commit 189a2e2670

View file

@ -926,9 +926,12 @@ void __dummy_GMAppKit_functionForLinking() {}
/* OUCH! This code crashes the translator; probably we interfere somehow with
the way NSPopUpButton is handled by the NeXT's NIB code. Sorry, the
popup buttons cannot be handled by the convertor! */
//[archiver encodeArray:[self itemArray] withName:@"itemArray"];
#ifdef __APPLE__
NSLog(@"Cannot encode NSPopUpButton - please fix me");
[archiver encodeArray: [NSArray array] withName: @"itemArray"];
#else
[archiver encodeArray:[self itemArray] withName:@"itemArray"];
#endif
//[archiver encodeString:[self titleOfSelectedItem] withName:@"selectedItem"];
//[archiver encodeString:[self title] withName:@"selectedItem"];