mirror of
https://github.com/taigrr/wails.git
synced 2026-04-10 09:01:32 -07:00
Compare commits
2 Commits
v2.0.0-alp
...
v2.0.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11cd51c9ca | ||
|
|
3de38003bf |
@@ -1,3 +1,3 @@
|
||||
package main
|
||||
|
||||
var version = "v2.0.0-alpha.69"
|
||||
var version = "v2.0.0-alpha.70"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user