Please sign in to comment.
Add PropertyGrid support to Events.hs
Ignore-this: 447bc057c961fe93de13c715f3fbfe4f This incorporates changes from the following patches in Dave Tapley's repo: * Fix segfault with wxPGProperty caused returning local wxString The initial implementation of wxPGProperty was causing a segfault, after comparing my approach with that used by the existing methods I noticed that they all return wxString* (i.e. a pointer and not a copy) and use pattern , after modifying wxPGProperty to do the same the segfault went away.  wxString* result = new wxString(); *result = self->FuncWhichReturnswxString() return result; (email@example.com Fri Sep 23 2011) * Added wxStringProperty and wxPropertyGrid_Append I've also updated the PropertyGrid.hs sample, to create a couple of wxStringProperty's and wxPropertyGrid_Append them; and updated the highlighted call back to print the label name when an item is hovered over, unfortunately this causes a segfault presently. (firstname.lastname@example.org Wed Aug 31 2011) * Added wxPropertyGridEvent_HasProperty, made PropertyGridHighlighted have a Maybe PGProperty (email@example.com Fri Aug 26 2011) * Wrapping wxPropertyGrid (firstname.lastname@example.org Fri Aug 26 2011) darcs-hash:20120319191305-75908-9cccfc338e4f15c7778af7a45a5a8fc226ac34b5.gz
- Loading branch information...
Showing with 51 additions and 0 deletions.