]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
Removed unused symbol __WXOS2__ (it's either __OS2__ when platform specific
[wxWidgets.git] / include / wx / msw / treectrl.h
index 645731106babe0ff0c54e31c8ec3d1070bec0840..b19b5ba4f68ddddbed13ed43449f6e3368b66eb7 100644 (file)
@@ -147,11 +147,6 @@ public:
     virtual wxTreeItemId AddRoot(const wxString& text,
                          int image = -1, int selectedImage = -1,
                          wxTreeItemData *data = NULL);
-    virtual wxTreeItemId InsertItem(const wxTreeItemId& parent,
-                                    const wxTreeItemId& idPrevious,
-                                    const wxString& text,
-                                    int image = -1, int selectedImage = -1,
-                                    wxTreeItemData *data = NULL);
 
     virtual void Delete(const wxTreeItemId& item);
     virtual void DeleteChildren(const wxTreeItemId& item);
@@ -196,12 +191,6 @@ public:
         // use Expand, Collapse, CollapseAndReset or Toggle
     wxDEPRECATED( void ExpandItem(const wxTreeItemId& item, int action) );
 
-        // use AddRoot, PrependItem or AppendItem
-    wxDEPRECATED( wxTreeItemId InsertItem(const wxTreeItemId& parent,
-                            const wxString& text,
-                            int image = -1, int selImage = -1,
-                            long insertAfter = wxTREE_INSERT_LAST) );
-
         // use Set/GetImageList and Set/GetStateImageList
     wxDEPRECATED( wxImageList *GetImageList(int) const );
     wxDEPRECATED( void SetImageList(wxImageList *imageList, int) );
@@ -262,11 +251,6 @@ protected:
     wxTextCtrl  *m_textCtrl;        // text control in which it is edited
     wxTreeItemId m_idEdited;        // the item being edited
 
-    wxImageList *m_imageListNormal, // images for tree elements
-                *m_imageListState;  // special images for app defined states
-    bool         m_ownsImageListNormal,
-                 m_ownsImageListState;
-
 private:
     // the common part of all ctors
     void Init();
@@ -287,7 +271,7 @@ private:
                                        const wxString& text,
                                        int image = -1, int selImage = -1,
                                        wxTreeItemData *data = NULL);
-    virtual wxTreeItemId DoHitTest(const wxPoint& point, int& flags);
+    virtual wxTreeItemId DoTreeHitTest(const wxPoint& point, int& flags);
 
     int DoGetItemImageFromData(const wxTreeItemId& item,
                                wxTreeItemIcon which) const;