diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index fb83cd49cb..d259e93509 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -2993,6 +2993,10 @@ void wxDataViewHeaderWindow::FinishEditing() //----------------------------------------------------------------------------- // Helper class for do operation on the tree node //----------------------------------------------------------------------------- + +namespace +{ + class DoJob { public: @@ -3040,6 +3044,8 @@ bool Walker( wxDataViewTreeNode * node, DoJob & func ) return false; } +} // anonymous namespace + bool wxDataViewMainWindow::ItemAdded(const wxDataViewItem & parent, const wxDataViewItem & item) { if (IsVirtualList())