aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-04-25 12:32:10 +0100
committerGitHub <noreply@github.com>2024-04-25 12:32:10 +0100
commit8f4e3b552e6ca801de472fc6df1223d35c0132fb (patch)
tree35e24378b091a65e147bbb36f714c112b16bc9be /core
parent1ea353dbf7285071e93da2f5f9f2b2257ca6ca88 (diff)
parenta4cec2e8b823ee922d73c15ba5e2fbf8461b89a4 (diff)
Merge pull request #3478 from laytan/fix-send-event-proc-signature
sys/darwin/foundation: fix Application->sendEvent signature
Diffstat (limited to 'core')
-rw-r--r--core/sys/darwin/Foundation/NSApplication.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/darwin/Foundation/NSApplication.odin b/core/sys/darwin/Foundation/NSApplication.odin
index d332345f9..34221aed6 100644
--- a/core/sys/darwin/Foundation/NSApplication.odin
+++ b/core/sys/darwin/Foundation/NSApplication.odin
@@ -132,7 +132,7 @@ Application_nextEventMatchingMask :: proc "c" (self: ^Application, mask: EventMa
@(objc_type=Application, objc_name="sendEvent")
Application_sendEvent :: proc "c" (self: ^Application, event: ^Event) {
- msgSend(Event, self, "sendEvent:", event)
+ msgSend(nil, self, "sendEvent:", event)
}
@(objc_type=Application, objc_name="updateWindows")
Application_updateWindows :: proc "c" (self: ^Application) {