Encode frame in PopUp

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4981 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1999-10-09 03:39:35 +00:00
parent 5d8dd95e38
commit 48b6d1cd56
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
1999-10-08 <fedor@gnu.org>
* Model/GMAppKit.m ([NSPopUpButton -encodeWithModelArchiver:]):
Encode frame.
Fri Oct 8 1999 Nicola Pero <n.pero@mi.flashnet.it>
Implementation of key view loop.

View file

@ -822,9 +822,8 @@ void __dummy_GMAppKit_functionForLinking() {}
//[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"];
#endif
[archiver encodeRect:[self frame] withName:@"frame"];
}
+ (id)createObjectForModelUnarchiver:(GMUnarchiver*)unarchiver