mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 20:11:20 +00:00
* Palettes/2Controls/ControlsPalette.m (finishInstantiate) do not add popup button - it's already in model file of palette.
This commit is contained in:
parent
10499e2610
commit
e2ec1db122
1 changed files with 0 additions and 11 deletions
|
@ -57,17 +57,6 @@
|
||||||
|
|
||||||
- (void) finishInstantiate
|
- (void) finishInstantiate
|
||||||
{
|
{
|
||||||
NSView *contents;
|
|
||||||
id v;
|
|
||||||
|
|
||||||
contents = [originalWindow contentView];
|
|
||||||
[contents setFrame: NSMakeRect(0, 0, 272, 192)];
|
|
||||||
v = [[GormNSPopUpButton alloc] initWithFrame: NSMakeRect(118, 139, 87, 22)];
|
|
||||||
[v addItemWithTitle: @"Item 1"];
|
|
||||||
[v addItemWithTitle: @"Item 2"];
|
|
||||||
[v addItemWithTitle: @"Item 3"];
|
|
||||||
[contents addSubview: v];
|
|
||||||
RELEASE(v);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue