Real fix for issue #12 on which wxTreeItemData native object was beeing deleted by php_wxTreeItemData_free causing a segault since it is already deleted by wxTreeCtrl, and some other fixes.
Regenerated the source to include some fixes which caused segfaults.