Added a missing import to the new CPTabView, and fixed the import for the test.

This commit is contained in:
Randall Luecke committed 2010-09-20 01:28:57 -04:00
1 parent dd89a98242
commit 9777e4c52f
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
@import <AppKit/CPView.j>
@import <AppKit/CPTabViewItem.j>
/*
Places tabs on top with a bezeled border.
+3 -2
View File
@@ -7,7 +7,8 @@
*/
@import <Foundation/CPObject.j>
@import <AppKit/CPTabView2.j>
@import <AppKit/CPTabView.j>
@implementation AppController : CPObject
@@ -18,7 +19,7 @@
var tabView = [[CPTabView alloc] initWithFrame:CGRectMake(50,50,400,400)];
[tabView setTabViewType:CPNoTabsBezelBorder];
[tabView setTabViewType:CPBottomTabsBezelBorder];
[tabView setTabViewType:CPTopTabsBezelBorder];
var view = [[CPView alloc] initWithFrame:CGRectMake(20, 20, 200, 200)];
[view addSubview:[CPTextField labelWithTitle:@"First"]];