]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectrl.h
Removed DrawOpenSpline since it doesn't seem to be needed, with required changes
[wxWidgets.git] / include / wx / generic / treectrl.h
index f42474ebf65ce55d54932fe8790d4ef83a6c53ec..f969e3c3c1a0638538ed762e7e14520dc9a4bd61 100644 (file)
@@ -294,6 +294,8 @@ public:
   int  GetItemImage(long item) const;
   long GetParent( long item ) const;
   long GetRootItem() const;
+  long GetChild(long item) const;
+  long GetNextItem(long item, int code) const;
   long GetSelection() const;
   bool SelectItem( long item );
   bool ItemHasChildren( long item ) const;
@@ -304,9 +306,12 @@ public:
   bool SetItemText( long item, const wxString &text );
   void SetItemImage(long item, int image, int imageSel) const;
   long HitTest( const wxPoint& point, int &flags );
+  
+  int  GetItemState(long item, long stateMask) const;
+  bool SetItemState(long item, long state, long stateMask);
 
   void AdjustMyScrollbars();
-  void PaintLevel( wxGenericTreeItem *item, wxPaintDC &dc, int level, int &y );
+  void PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level, int &y );
   void OnPaint( const wxPaintEvent &event );
   void OnSetFocus( const wxFocusEvent &event );
   void OnKillFocus( const wxFocusEvent &event );
@@ -333,7 +338,7 @@ private:
   wxImageList         *m_imageList;
   wxImageList         *m_smallImageList;
 
-  void CalculateLevel( wxGenericTreeItem *item, wxPaintDC &dc, int level, int &y );
+  void CalculateLevel( wxGenericTreeItem *item, wxDC &dc, int level, int &y );
   void CalculatePositions();
   wxGenericTreeItem *FindItem( long itemId ) const;
   void RefreshLine( wxGenericTreeItem *item );