* Palettes/2Controls: return code for NSPopUpButton adding programmatically into palette.

This commit is contained in:
Sergii Stoian 2019-12-24 02:00:16 +02:00
parent 25697a5b46
commit 94c450df76
2 changed files with 10 additions and 0 deletions

View file

@ -57,6 +57,16 @@
- (void) finishInstantiate
{
NSView *contents;
id v;
contents = [originalWindow contentView];
v = [[GormNSPopUpButton alloc] initWithFrame: NSMakeRect(73, 159, 70, 22)];
[v addItemWithTitle: @"Item 1"];
[v addItemWithTitle: @"Item 2"];
[v addItemWithTitle: @"Item 3"];
[contents addSubview: v];
RELEASE(v);
}
/**