Change title

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4857 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1999-09-09 03:45:33 +00:00
parent 630fa5f01f
commit 471b0beb35

View file

@ -806,7 +806,8 @@ void __dummy_GMAppKit_functionForLinking() {}
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"];
[archiver encodeString:[self titleOfSelectedItem] withName:@"selectedItem"];
//[archiver encodeString:[self titleOfSelectedItem] withName:@"selectedItem"];
[archiver encodeString:[self title] withName:@"selectedItem"];
[super encodeWithModelArchiver:archiver];
#else // need frame for workarounds to know where to place the popup
[archiver encodeRect:[self frame] withName:@"frame"];