Description
I think this error started showing up after the events refactor
etesam@Etesams-MacBook-Air ~/C/w/v/e/drag-n-drop (v3-alpha)> go run main.go
# command-line-arguments
./main.go:40:7: app.customEventProcessor undefined (cannot refer to unexported field customEventProcessor)
To Reproduce
git checkout v3-alpha
cd /examples/drag-n-drop
go run main.go
Expected behaviour
The example runs as expected without the error
Screenshots
Attempted Fixes
I think this can be fixed easily by replacing with app.EmitEvent
System Details
etesam@Etesams-MacBook-Air ~/C/w/v/e/drag-n-drop (v3-alpha) [1]> wails3 doctor
Wails Doctor
# System
┌────────────────────────────┐
| Name | MacOS |
| Version | 15.0 |
| ID | 24A5331b |
| Branding | MacOS 15.0 |
| Platform | darwin |
| Architecture | arm64 |
| Apple Silicon | true |
| CPU | Apple M2 |
| CPU | Unknown |
| GPU | Unknown |
| Memory | Unknown |
└────────────────────────────┘
# Build Environment
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| Wails CLI | v3.0.0-alpha.6 |
| Go Version | go1.23.1 |
| Revision | ef8c886b101ab13258998cbb0cfca36db5b110e4 |
| Modified | false |
| -buildmode | exe |
| -compiler | gc |
| CGO_CFLAGS | |
| CGO_CPPFLAGS | |
| CGO_CXXFLAGS | |
| CGO_ENABLED | 1 |
| CGO_LDFLAGS | |
| DefaultGODEBUG | asynctimerchan=1,gotypesalias=0,httpservecontentkeepheaders=1,tls3des=1,tlskyber=0,x509keypairleaf=0,x509negativeserial=1 |
| GOARCH | arm64 |
| GOARM64 | v8.0 |
| GOOS | darwin |
| vcs | git |
| vcs.modified | false |
| vcs.revision | ef8c886b101ab13258998cbb0cfca36db5b110e4 |
| vcs.time | 2024-09-08T22:36:19Z |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
### Additional context
_No response_
Description
I think this error started showing up after the events refactor
To Reproduce
git checkout v3-alphacd /examples/drag-n-dropgo run main.goExpected behaviour
The example runs as expected without the error
Screenshots
Attempted Fixes
I think this can be fixed easily by replacing with
app.EmitEventSystem Details