mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v3 darwin] typecast as ApplicationEventType
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user