Put generic wxDataViewCtrl helpers in an anonymous namespace
No real changes, just don't pollute the global namespace unnecessarily.
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user