OnPropertyGridChange needs to be a Function with the parameter wxEvent.
eg.
(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 :
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 ;-)
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 ;-)