- bool ExpandItem(const long item, const int action);
- long InsertItem(const long parent, wxTreeItem& info, const long insertAfter = wxTREE_INSERT_LAST);
+ bool DeleteItem(long item);
+ bool ExpandItem(long item, int action);
+ long InsertItem(long parent, wxTreeItem& info, long insertAfter = wxTREE_INSERT_LAST);
// If image > -1 and selImage == -1, the same image is used for
// both selected and unselected items.
// If image > -1 and selImage == -1, the same image is used for
// both selected and unselected items.
- long InsertItem(const long parent, const wxString& label, const int image = -1, const int selImage = -1, const long insertAfter = wxTREE_INSERT_LAST);
- bool SelectItem(const long item);
- bool ScrollTo(const long item);
+ long InsertItem(long parent, const wxString& label, int image = -1, int selImage = -1, long insertAfter = wxTREE_INSERT_LAST);
+ bool SelectItem(long item);
+ bool ScrollTo(long item);
bool DeleteAllItems(void) ;
bool DeleteAllItems(void) ;
- wxTextCtrl& Edit(const long item) ;
+ wxTextCtrl& Edit(long item) ;
long HitTest(const wxPoint& point, int& flags);
long HitTest(const wxPoint& point, int& flags);
-// wxImageList *CreateDragImage(const long item) ;
- virtual void CreateCaret(const int w, const int h);
+ virtual void CreateCaret(int w, int h);
virtual void CreateCaret(const wxBitmap *bitmap);
virtual void DestroyCaret(void);
virtual void CreateCaret(const wxBitmap *bitmap);
virtual void DestroyCaret(void);
- virtual void ShowCaret(const bool show);
- virtual void SetCaretPos(const int x, const int y);
+ virtual void ShowCaret(bool show);
+ virtual void SetCaretPos(int x, int y);
virtual void GetCaretPos(int *x, int *y) const;
// Tell window how much it can be sized
virtual void GetCaretPos(int *x, int *y) const;
// Tell window how much it can be sized
- virtual void SetSizeHints(const int minW = -1, const int minH = -1, const int maxW = -1, const int maxH = -1, const int incW = -1, const int incH = -1);
+ virtual void SetSizeHints(int minW = -1, int minH = -1, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1);
// Set/get the window's identifier
inline int GetId() const;
// Set/get the window's identifier
inline int GetId() const;
- inline void SetId(const int id);
+ inline void SetId(int id);
// Make the window modal (all other windows unresponsive)
// Make the window modal (all other windows unresponsive)