mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 19:01:15 +00:00
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:
parent
354b959318
commit
189a2e2670
1 changed files with 4 additions and 1 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue