mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
[v2] ARM64 fixes
This commit is contained in:
parent
418438b762
commit
3de38003bf
2 changed files with 2 additions and 2 deletions
|
|
@ -1808,7 +1808,7 @@ void* NewApplication(const char *title, int width, int height, int resizable, in
|
|||
|
||||
result->running = false;
|
||||
|
||||
result->pool = objc_msgSend(c("NSAutoreleasePool"), s("new"));
|
||||
result->pool = msg_reg(c("NSAutoreleasePool"), s("new"));
|
||||
|
||||
return (void*) result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -375,7 +375,7 @@ id createMenu(id title) {
|
|||
id menu = ALLOC("NSMenu");
|
||||
msg_id(menu, s("initWithTitle:"), title);
|
||||
msg_bool(menu, s("setAutoenablesItems:"), NO);
|
||||
msg(menu, s("autorelease"));
|
||||
msg_reg(menu, s("autorelease"));
|
||||
return menu;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue