aboutsummaryrefslogtreecommitdiffstats
path: root/src/AppDelegate.m
diff options
context:
space:
mode:
authorTeddy Wing2023-08-22 00:50:21 +0200
committerTeddy Wing2023-08-22 00:50:21 +0200
commit43b27f370c4299c9b89cb45d9690bab31c421a10 (patch)
tree8aefb04ca978ec952fdd333fa281b9ca59ff5d13 /src/AppDelegate.m
parent55903d7c30bb855a4246e8f01f99821206369f4d (diff)
downloadBase-Windowed-Application-43b27f370c4299c9b89cb45d9690bab31c421a10.tar.bz2
AppDelegate: Experiment to set NSTextView to window contentView
Diffstat (limited to 'src/AppDelegate.m')
-rw-r--r--src/AppDelegate.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AppDelegate.m b/src/AppDelegate.m
index 2778573..0ee85e9 100644
--- a/src/AppDelegate.m
+++ b/src/AppDelegate.m
@@ -34,6 +34,7 @@
_text_view = [[NSTextView alloc]
initWithFrame:NSMakeRect(0, 0, 400, 400)];
[[_window contentView] addSubview:_text_view];
+ // [_window setContentView:_text_view];
}
- (void)applicationDidFinishLaunching:(NSNotification *)notification