more adventures in WX

BlitzMax Modules Forums/Brucey's Modules/more adventures in WX

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

OnPropertyGridChange needs to be a Function with the parameter wxEvent.
eg.
Function OnPropertyGridChange(event:wxEvent)
...

(assuming this is the issue of course...)

What I've tended to do, to make my life a little easier (and is how the generated code works, is something like this :
Function _OnPropertyGridChange(event:wxEvent)
    BASETYPE(event.parent).OnPropertyGridChange(wxPropertyGridEvent(event))
End Function

Method OnPropertyGridChange(event:wxPropertyGridEvent)
 ....
End Method

Sometimes you need to swap event.parent for event.sink - depending how you are using Connect.

Anyway, that's just an assumption based on the supplied information.
Never be afraid to post code snippets ;-)