]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix harmless gcc initialization order warning.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Oct 2011 11:28:32 +0000 (11:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Oct 2011 11:28:32 +0000 (11:28 +0000)
Put the initializes in wxDataViewTreeNode constructor initialization list in
order of their declaration.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datavgen.cpp

index f9a43c707502835375278ccf31464040c66a38a6..d0a0d65d62b00916b757ff3865a4abf08ec81b8a 100644 (file)
@@ -322,8 +322,8 @@ class wxDataViewTreeNode
 {
 public:
     wxDataViewTreeNode(wxDataViewTreeNode *parent, const wxDataViewItem& item)
-        : m_item(item),
-          m_parent(parent),
+        : m_parent(parent),
+          m_item(item),
           m_branchData(NULL)
     {
     }