]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectlg.h
warnings (and some errors) fixes for wxUniv DLL build
[wxWidgets.git] / include / wx / generic / treectlg.h
index a76a4dde3850519d01f15fa33b29b08f68f2ca74..1d1a77865b8bbf2ab12149e6aefc571794120fe4 100644 (file)
@@ -351,11 +351,14 @@ public:
     void SetItemSelectedImage(const wxTreeItemId& item, int image)
         { SetItemImage(item, image, wxTreeItemIcon_Selected); }
 
-    // use the versions taking wxTreeItemIdValue cookies
+    // use the versions taking wxTreeItemIdValue cookies (note that
+    // GetNextChild() is not inside wxDEPRECATED on purpose, as otherwise we
+    // get twice as many warnings without any added benefit: it is always used
+    // with GetFirstChild() anyhow)
     wxDEPRECATED( wxTreeItemId GetFirstChild(const wxTreeItemId& item,
                                              long& cookie) const );
-    wxDEPRECATED( wxTreeItemId GetNextChild(const wxTreeItemId& item,
-                                            long& cookie) const );
+    wxTreeItemId GetNextChild(const wxTreeItemId& item,
+                              long& cookie) const;
 #endif // WXWIN_COMPATIBILITY_2_4
 
 
@@ -414,9 +417,6 @@ protected:
 
     wxTimer             *m_renameTimer;
 
-    wxBitmap            *m_arrowRight,
-                        *m_arrowDown;
-
     // incremental search data
     wxString             m_findPrefix;
     wxTimer             *m_findTimer;