Use helper class instead of manually calling gtk_tree_path_free().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Aug 2010 11:37:41 +0000 (11:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Aug 2010 11:37:41 +0000 (11:37 +0000)
commit0c2a7270577c4d007d464ed28d8addb76a9a4a14
tree9c2bc4497461fa43c690ccfa49922ffc70ce88c1
parent17d98558b35b75e3cad68d96841b4fa5a0c7e6ee
Use helper class instead of manually calling gtk_tree_path_free().

No real changes, just simplify the code and make it more obviously correct by
ensuring that all temporary tree paths are always destroyed because they are
assigned to a wxGtkTreePath object which does it in its dtor instead of
calling gtk_tree_path_free() manually every time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/dataview.cpp