I read in the wxPropGrid documentation that you can create new editors by 'extending' wxPGProperty (I think), but when I tried, I could not get it to work.
Type MyProperty Extends wxPGProperty
Field parent:wxPropertyGrid
Method OnInit:wxPGEditor()
Local button:wxButton = New wxButton.Create(parent, wxID_ANY)
Return wxPGEditor(button)
EndMethod
EndType
I have probably done it completely wrong (obviously, since it doesn't compile), so please refrain from laughing at my pathetic attempt! :P
There's some stuff on it
here, but aside from my attempt above, I can make neither head nor tail of it. Could someone else have a try? Pretty please?
Also, the propgrid.bmx sample does not compile. I deleted it from my BlitzMax folder and then did an SVN update, and that is the one that does not compile.