mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
[v3 darwin] typecast as ApplicationEventType
This commit is contained in:
parent
d2e0e0ed81
commit
0a4c596ecb
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ func newPlatformApp(app *App) *macosApp {
|
|||
|
||||
//export processApplicationEvent
|
||||
func processApplicationEvent(eventID C.uint, data unsafe.Pointer) {
|
||||
event := newApplicationEvent(int(eventID))
|
||||
event := newApplicationEvent(events.ApplicationEventType(eventID))
|
||||
|
||||
if data != nil {
|
||||
dataCStrJSON := C.serializationNSDictionary(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue