nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: remove the orphaned file xymus_net.res
[nit.git]
/
lib
/
cocoa
/
app_kit.nit
diff --git
a/lib/cocoa/app_kit.nit
b/lib/cocoa/app_kit.nit
index
5fe0af2
..
91632db
100644
(file)
--- a/
lib/cocoa/app_kit.nit
+++ b/
lib/cocoa/app_kit.nit
@@
-31,8
+31,8
@@
extern class NSAlert in "ObjC" `{ NSAlert * `}
new in "ObjC" `{ return [[NSAlert alloc] init]; `}
# Set the content of this message box
new in "ObjC" `{ return [[NSAlert alloc] init]; `}
# Set the content of this message box
- fun message_text=(text: NSString) in "ObjC" `{ [recv setMessageText:text]; `}
+ fun message_text=(text: NSString) in "ObjC" `{ [self setMessageText:text]; `}
# Show this message box
# Show this message box
- fun run_modal in "ObjC" `{ [recv runModal]; `}
+ fun run_modal in "ObjC" `{ [self runModal]; `}
end
end