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.

I have a question about setting up events.

I have propertygrid and as you know, it's not supported by wxCodeGen so I do my setup in the extended frame, not the base frame. After the setup I call
Connect(PROPERTY_GRID.Getid(), wxEVT_PG_CHANGED, OnPropertyGridChange)
to catch the changing of fields.

I get this error while compiling: Unable to convert from 'Int(wx.wx.wxEvent)' to 'Int(wxEvent)'

If I add the setup and connect code into the base frame type, it works...

Which dependency am I missing?