]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/wxCode/include/wx/treelistctrl.h
committed aupdated patch that adds support for
[wxWidgets.git] / wxPython / contrib / gizmos / wxCode / include / wx / treelistctrl.h
CommitLineData
28eab81f
RD
1/////////////////////////////////////////////////////////////////////////////
2// Name: treelistctrl.h
1fded56b
RD
3// Purpose: wxTreeListCtrl class
4// Author: Robert Roebling
5// Modified by: Alberto Griggio, 2002
6// Created: 01/02/97
7// RCS-ID: $Id$
28eab81f
RD
8// Copyright: (c) Robert Roebling, Julian Smart, Alberto Griggio,
9// Vadim Zeitlin, Otto Wyss
1fded56b
RD
10// Licence: wxWindows license
11/////////////////////////////////////////////////////////////////////////////
12
13
14#ifndef TREELISTCTRL_H
15#define TREELISTCTRL_H
16
17#if defined(__GNUG__) && !defined(__APPLE__)
18 #pragma interface "treelistctrl.h"
19#endif
20
21#include <wx/treectrl.h>
22#include <wx/control.h>
23#include <wx/pen.h>
24#include <wx/listctrl.h> // for wxListEvent
25
26#ifdef GIZMOISDLL
27#define GIZMODLLEXPORT WXDLLEXPORT
28#else
29#define GIZMODLLEXPORT
30#endif
31
32
33class GIZMODLLEXPORT wxTreeListItem;
34class GIZMODLLEXPORT wxTreeListHeaderWindow;
35class GIZMODLLEXPORT wxTreeListMainWindow;
36
28eab81f
RD
37
38// Using this typedef removes an ambiguity when calling Remove()
39#ifdef __WXMSW__
40#if !wxCHECK_VERSION(2, 5, 0)
41typedef long wxTreeItemIdValue;
42#else
43typedef void *wxTreeItemIdValue;
44#endif
45#endif
46
648d396c
RD
47
48#define wxTR_DONT_ADJUST_MAC 0x0100 // Don't adjust the style for the Mac
49
1fded56b
RD
50//-----------------------------------------------------------------------------
51// wxTreeListColumnAttrs
52//-----------------------------------------------------------------------------
53
54enum wxTreeListColumnAlign {
55 wxTL_ALIGN_LEFT,
56 wxTL_ALIGN_RIGHT,
57 wxTL_ALIGN_CENTER
58};
59
60
61class GIZMODLLEXPORT wxTreeListColumnInfo: public wxObject {
62public:
63 enum { DEFAULT_COL_WIDTH = 100 };
64
28eab81f 65 wxTreeListColumnInfo(const wxString &text = wxT(""),
1fded56b
RD
66 int image = -1,
67 size_t width = DEFAULT_COL_WIDTH,
28eab81f 68 bool shown = true,
1fded56b
RD
69 wxTreeListColumnAlign alignment = wxTL_ALIGN_LEFT)
70 {
71 m_image = image;
72 m_selected_image = -1;
73 m_text = text;
74 m_width = width;
28eab81f 75 m_shown = shown;
1fded56b
RD
76 m_alignment = alignment;
77 }
78
79 wxTreeListColumnInfo(const wxTreeListColumnInfo& other)
80 {
81 m_image = other.m_image;
82 m_selected_image = other.m_selected_image;
83 m_text = other.m_text;
84 m_width = other.m_width;
28eab81f 85 m_shown = other.m_shown;
1fded56b
RD
86 m_alignment = other.m_alignment;
87 }
88
89 ~wxTreeListColumnInfo() {}
90
91 // getters
28eab81f 92 bool GetShown() const { return m_shown; }
1fded56b
RD
93 wxTreeListColumnAlign GetAlignment() const { return m_alignment; }
94 wxString GetText() const { return m_text; }
95 int GetImage() const { return m_image; }
96 int GetSelectedImage() const { return m_selected_image; }
97 size_t GetWidth() const { return m_width; }
98
99 // setters
28eab81f
RD
100 wxTreeListColumnInfo& SetShown(bool shown)
101 { m_shown = shown; return *this; }
102
1fded56b
RD
103 wxTreeListColumnInfo& SetAlignment(wxTreeListColumnAlign alignment)
104 { m_alignment = alignment; return *this; }
105
106 wxTreeListColumnInfo& SetText(const wxString& text)
107 { m_text = text; return *this; }
108
109 wxTreeListColumnInfo& SetImage(int image)
110 { m_image = image; return *this; }
111
112 wxTreeListColumnInfo& SetSelectedImage(int image)
113 { m_selected_image = image; return *this; }
114
115 wxTreeListColumnInfo& SetWidth(size_t with)
116 { m_width = with; return *this; }
117
118private:
28eab81f 119 bool m_shown;
1fded56b
RD
120 wxTreeListColumnAlign m_alignment;
121 wxString m_text;
122 int m_image;
123 int m_selected_image;
124 size_t m_width;
125};
126
127//----------------------------------------------------------------------------
128// wxTreeListCtrl - the multicolumn tree control
129//----------------------------------------------------------------------------
130
28eab81f
RD
131// flags for FindItem
132const int wxTL_SEARCH_VISIBLE = 0x0000;
133const int wxTL_SEARCH_LEVEL = 0x0001;
134const int wxTL_SEARCH_FULL = 0x0002;
135const int wxTL_SEARCH_PARTIAL = 0x0010;
136const int wxTL_SEARCH_NOCASE = 0x0020;
137
1fded56b
RD
138// additional flag for HitTest
139const int wxTREE_HITTEST_ONITEMCOLUMN = 0x2000;
140extern GIZMODLLEXPORT const wxChar* wxTreeListCtrlNameStr;
141
142
143class GIZMODLLEXPORT wxTreeListCtrl : public wxControl
144{
145public:
146 // creation
147 // --------
8e3ca43b
RD
148 wxTreeListCtrl()
149 : m_header_win(0), m_main_win(0), m_headerHeight(0)
150 {}
1fded56b
RD
151
152 wxTreeListCtrl(wxWindow *parent, wxWindowID id = -1,
153 const wxPoint& pos = wxDefaultPosition,
154 const wxSize& size = wxDefaultSize,
155 long style = wxTR_DEFAULT_STYLE,
156 const wxValidator &validator = wxDefaultValidator,
157 const wxString& name = wxTreeListCtrlNameStr )
8e3ca43b 158 : m_header_win(0), m_main_win(0), m_headerHeight(0)
1fded56b
RD
159 {
160 Create(parent, id, pos, size, style, validator, name);
161 }
162
163 virtual ~wxTreeListCtrl() {}
164
165 bool Create(wxWindow *parent, wxWindowID id = -1,
166 const wxPoint& pos = wxDefaultPosition,
167 const wxSize& size = wxDefaultSize,
168 long style = wxTR_DEFAULT_STYLE,
169 const wxValidator &validator = wxDefaultValidator,
170 const wxString& name = wxTreeListCtrlNameStr );
171
172 void Refresh(bool erase=TRUE, const wxRect* rect=NULL);
173 void SetFocus();
174 // accessors
175 // ---------
176
28eab81f 177 // get the total number of items in the control
1fded56b
RD
178 size_t GetCount() const;
179
28eab81f
RD
180 // indent is the number of pixels the children are indented relative to
181 // the parents position. SetIndent() also redraws the control
182 // immediately.
1fded56b
RD
183 unsigned int GetIndent() const;
184 void SetIndent(unsigned int indent);
185
1fded56b
RD
186 // line spacing is the space above and below the text on each line
187 unsigned int GetLineSpacing() const;
188 void SetLineSpacing(unsigned int spacing);
189
28eab81f
RD
190 // image list: these functions allow to associate an image list with
191 // the control and retrieve it. Note that when assigned with
192 // SetImageList, the control does _not_ delete
193 // the associated image list when it's deleted in order to allow image
194 // lists to be shared between different controls. If you use
195 // AssignImageList, the control _does_ delete the image list.
196 //
197 // The normal image list is for the icons which correspond to the
198 // normal tree item state (whether it is selected or not).
199 // Additionally, the application might choose to show a state icon
200 // which corresponds to an app-defined item state (for example,
201 // checked/unchecked) which are taken from the state image list.
1fded56b
RD
202 wxImageList *GetImageList() const;
203 wxImageList *GetStateImageList() const;
204 wxImageList *GetButtonsImageList() const;
205
206 void SetImageList(wxImageList *imageList);
207 void SetStateImageList(wxImageList *imageList);
208 void SetButtonsImageList(wxImageList *imageList);
209 void AssignImageList(wxImageList *imageList);
210 void AssignStateImageList(wxImageList *imageList);
211 void AssignButtonsImageList(wxImageList *imageList);
212
213
214 // Functions to work with tree list ctrl columns
215
216 // adds a column
217 void AddColumn(const wxString& text)
28eab81f
RD
218 { AddColumn(wxTreeListColumnInfo(text)); }
219 void AddColumn(const wxString& text,
220 size_t width,
221 wxTreeListColumnAlign alignment = wxTL_ALIGN_LEFT)
222 { AddColumn(wxTreeListColumnInfo(text,
223 -1,
224 width,
225 true,
226 alignment)); }
1fded56b
RD
227 void AddColumn(const wxTreeListColumnInfo& col);
228
229 // inserts a column before the given one
230 void InsertColumn(size_t before, const wxString& text)
28eab81f 231 { InsertColumn(before, wxTreeListColumnInfo(text)); }
1fded56b
RD
232 void InsertColumn(size_t before, const wxTreeListColumnInfo& col);
233
234 // deletes the given column - does not delete the corresponding column
235 // of each item
236 void RemoveColumn(size_t column);
237
238 // returns the number of columns in the ctrl
239 size_t GetColumnCount() const;
240
241 void SetColumnWidth(size_t column, size_t width);
242 int GetColumnWidth(size_t column) const;
243
244 // tells which column is the "main" one, i.e. the "threaded" one
245 void SetMainColumn(size_t column);
246 size_t GetMainColumn() const;
247
248 void SetColumnText(size_t column, const wxString& text);
249 wxString GetColumnText(size_t column) const;
250
251 void SetColumn(size_t column, const wxTreeListColumnInfo& info);
252 wxTreeListColumnInfo& GetColumn(size_t column);
253 const wxTreeListColumnInfo& GetColumn(size_t column) const;
254
255 // other column-related methods
256 void SetColumnAlignment(size_t column, wxTreeListColumnAlign align);
257 wxTreeListColumnAlign GetColumnAlignment(size_t column) const;
258
259 void SetColumnImage(size_t column, int image);
260 int GetColumnImage(size_t column) const;
261
28eab81f
RD
262 void ShowColumn(size_t column, bool shown);
263 bool IsColumnShown(size_t column) const;
264
1fded56b
RD
265 // Functions to work with tree list ctrl items.
266
267 // accessors
268 // ---------
269
28eab81f 270 // retrieve item's label (of the main column)
1fded56b 271 wxString GetItemText(const wxTreeItemId& item) const
28eab81f 272 { return GetItemText(item, GetMainColumn()); }
1fded56b
RD
273 // retrieves item's label of the given column
274 wxString GetItemText(const wxTreeItemId& item, size_t column) const;
275
28eab81f 276 // get one of the images associated with the item (normal by default)
1fded56b
RD
277 int GetItemImage(const wxTreeItemId& item,
278 wxTreeItemIcon which = wxTreeItemIcon_Normal) const
279 { return GetItemImage(item, GetMainColumn(), which); }
280 int GetItemImage(const wxTreeItemId& item, size_t column,
281 wxTreeItemIcon which = wxTreeItemIcon_Normal) const;
282
28eab81f 283 // get the data associated with the item
1fded56b
RD
284 wxTreeItemData *GetItemData(const wxTreeItemId& item) const;
285
286 bool GetItemBold(const wxTreeItemId& item) const;
287 wxColour GetItemTextColour(const wxTreeItemId& item) const;
288 wxColour GetItemBackgroundColour(const wxTreeItemId& item) const;
289 wxFont GetItemFont(const wxTreeItemId& item) const;
290
291 // modifiers
292 // ---------
293
28eab81f 294 // set item's label
1fded56b
RD
295 void SetItemText(const wxTreeItemId& item, const wxString& text)
296 { SetItemText(item, GetMainColumn(), text); }
297 void SetItemText(const wxTreeItemId& item, size_t column,
298 const wxString& text);
299
300 // get one of the images associated with the item (normal by default)
301 void SetItemImage(const wxTreeItemId& item, int image,
302 wxTreeItemIcon which = wxTreeItemIcon_Normal)
303 { SetItemImage(item, GetMainColumn(), image, which); }
304 // the which parameter is ignored for all columns but the main one
305 void SetItemImage(const wxTreeItemId& item, size_t column, int image,
306 wxTreeItemIcon which = wxTreeItemIcon_Normal);
307
28eab81f 308 // associate some data with the item
1fded56b
RD
309 void SetItemData(const wxTreeItemId& item, wxTreeItemData *data);
310
28eab81f
RD
311 // force appearance of [+] button near the item. This is useful to
312 // allow the user to expand the items which don't have any children now
313 // - but instead add them only when needed, thus minimizing memory
314 // usage and loading time.
1fded56b
RD
315 void SetItemHasChildren(const wxTreeItemId& item, bool has = TRUE);
316
28eab81f 317 // the item will be shown in bold
1fded56b
RD
318 void SetItemBold(const wxTreeItemId& item, bool bold = TRUE);
319
28eab81f
RD
320 // set the item's text colour
321 void SetItemTextColour(const wxTreeItemId& item, const wxColour& colour);
1fded56b 322
28eab81f
RD
323 // set the item's background colour
324 void SetItemBackgroundColour(const wxTreeItemId& item, const wxColour& colour);
1fded56b 325
28eab81f 326 // set the item's font (should be of the same height for all items)
1fded56b
RD
327 void SetItemFont(const wxTreeItemId& item, const wxFont& font);
328
28eab81f 329 // set the window font
1fded56b
RD
330 virtual bool SetFont( const wxFont &font );
331
28eab81f 332 // set the styles.
1fded56b
RD
333 void SetWindowStyle(const long styles);
334 long GetWindowStyle() const;
335 long GetWindowStyleFlag() const { return GetWindowStyle(); }
336
337 // item status inquiries
338 // ---------------------
339
28eab81f 340 // is the item visible (it might be outside the view or not expanded)?
1fded56b 341 bool IsVisible(const wxTreeItemId& item) const;
28eab81f 342 // does the item has any children?
1fded56b
RD
343 bool HasChildren(const wxTreeItemId& item) const
344 { return ItemHasChildren(item); }
345 bool ItemHasChildren(const wxTreeItemId& item) const;
28eab81f 346 // is the item expanded (only makes sense if HasChildren())?
1fded56b 347 bool IsExpanded(const wxTreeItemId& item) const;
28eab81f 348 // is this item currently selected (the same as has focus)?
1fded56b 349 bool IsSelected(const wxTreeItemId& item) const;
28eab81f 350 // is item text in bold font?
1fded56b 351 bool IsBold(const wxTreeItemId& item) const;
28eab81f 352 // does the layout include space for a button?
1fded56b
RD
353
354 // number of children
355 // ------------------
356
28eab81f
RD
357 // if 'recursively' is FALSE, only immediate children count, otherwise
358 // the returned number is the number of all items in this branch
1fded56b
RD
359 size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
360
361 // navigation
362 // ----------
363
364 // wxTreeItemId.IsOk() will return FALSE if there is no such item
365
28eab81f 366 // get the root tree item
1fded56b
RD
367 wxTreeItemId GetRootItem() const;
368
28eab81f 369 // get the item currently selected (may return NULL if no selection)
1fded56b
RD
370 wxTreeItemId GetSelection() const;
371
28eab81f 372 // get the items currently selected, return the number of such item
1fded56b
RD
373 size_t GetSelections(wxArrayTreeItemIds&) const;
374
28eab81f
RD
375 // get the parent of this item (may return NULL if root)
376 wxTreeItemId GetItemParent(const wxTreeItemId& item) const;
1fded56b 377
28eab81f
RD
378 // for this enumeration function you must pass in a "cookie" parameter
379 // which is opaque for the application but is necessary for the library
380 // to make these functions reentrant (i.e. allow more than one
381 // enumeration on one and the same object simultaneously). Of course,
382 // the "cookie" passed to GetFirstChild() and GetNextChild() should be
383 // the same!
1fded56b 384
28eab81f
RD
385 // get the first child of this item
386#if !wxCHECK_VERSION(2, 5, 0)
1fded56b 387 wxTreeItemId GetFirstChild(const wxTreeItemId& item, long& cookie) const;
28eab81f
RD
388#else
389 wxTreeItemId GetFirstChild(const wxTreeItemId& item, wxTreeItemIdValue& cookie) const;
390#endif
391 // get the next child
392#if !wxCHECK_VERSION(2, 5, 0)
1fded56b 393 wxTreeItemId GetNextChild(const wxTreeItemId& item, long& cookie) const;
28eab81f
RD
394#else
395 wxTreeItemId GetNextChild(const wxTreeItemId& item, wxTreeItemIdValue& cookie) const;
396#endif
397 // get the prev child
398#if !wxCHECK_VERSION(2, 5, 0)
399 wxTreeItemId GetPrevChild(const wxTreeItemId& item, long& cookie) const;
400#else
401 wxTreeItemId GetPrevChild(const wxTreeItemId& item, wxTreeItemIdValue& cookie) const;
402#endif
403 // get the last child of this item - this method doesn't use cookies
1fded56b
RD
404 wxTreeItemId GetLastChild(const wxTreeItemId& item) const;
405
28eab81f 406 // get the next sibling of this item
1fded56b 407 wxTreeItemId GetNextSibling(const wxTreeItemId& item) const;
28eab81f 408 // get the previous sibling
1fded56b
RD
409 wxTreeItemId GetPrevSibling(const wxTreeItemId& item) const;
410
28eab81f 411 // get first visible item
1fded56b 412 wxTreeItemId GetFirstVisibleItem() const;
28eab81f
RD
413 // get the next visible item: item must be visible itself!
414 // see IsVisible() and wxTreeCtrl::GetFirstVisibleItem()
1fded56b 415 wxTreeItemId GetNextVisible(const wxTreeItemId& item) const;
28eab81f 416 // get the previous visible item: item must be visible itself!
1fded56b
RD
417 wxTreeItemId GetPrevVisible(const wxTreeItemId& item) const;
418
28eab81f 419 // Only for internal use right now, but should probably be public
1fded56b
RD
420 wxTreeItemId GetNext(const wxTreeItemId& item) const;
421
422 // operations
423 // ----------
424
28eab81f 425 // add the root node to the tree
1fded56b
RD
426 wxTreeItemId AddRoot(const wxString& text,
427 int image = -1, int selectedImage = -1,
428 wxTreeItemData *data = NULL);
429
28eab81f 430 // insert a new item in as the first child of the parent
1fded56b
RD
431 wxTreeItemId PrependItem(const wxTreeItemId& parent,
432 const wxString& text,
433 int image = -1, int selectedImage = -1,
434 wxTreeItemData *data = NULL);
435
28eab81f 436 // insert a new item after a given one
1fded56b
RD
437 wxTreeItemId InsertItem(const wxTreeItemId& parent,
438 const wxTreeItemId& idPrevious,
439 const wxString& text,
440 int image = -1, int selectedImage = -1,
441 wxTreeItemData *data = NULL);
442
28eab81f 443 // insert a new item before the one with the given index
1fded56b
RD
444 wxTreeItemId InsertItem(const wxTreeItemId& parent,
445 size_t index,
446 const wxString& text,
447 int image = -1, int selectedImage = -1,
448 wxTreeItemData *data = NULL);
449
28eab81f 450 // insert a new item in as the last child of the parent
1fded56b
RD
451 wxTreeItemId AppendItem(const wxTreeItemId& parent,
452 const wxString& text,
453 int image = -1, int selectedImage = -1,
454 wxTreeItemData *data = NULL);
455
28eab81f 456 // delete this item and associated data if any
1fded56b 457 void Delete(const wxTreeItemId& item);
28eab81f
RD
458 // delete all children (but don't delete the item itself)
459 // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
1fded56b 460 void DeleteChildren(const wxTreeItemId& item);
28eab81f
RD
461 // delete all items from the tree
462 // NB: this won't send wxEVT_COMMAND_TREE_ITEM_DELETED events
1fded56b
RD
463 void DeleteAllItems();
464
28eab81f 465 // expand this item
1fded56b 466 void Expand(const wxTreeItemId& item);
28eab81f 467 // expand this item and all subitems recursively
1fded56b 468 void ExpandAll(const wxTreeItemId& item);
28eab81f 469 // collapse the item without removing its children
1fded56b 470 void Collapse(const wxTreeItemId& item);
28eab81f 471 // collapse the item and remove all children
1fded56b 472 void CollapseAndReset(const wxTreeItemId& item);
28eab81f 473 // toggles the current state
1fded56b
RD
474 void Toggle(const wxTreeItemId& item);
475
28eab81f 476 // remove the selection from currently selected item (if any)
1fded56b
RD
477 void Unselect();
478 void UnselectAll();
28eab81f 479 // select this item
1fded56b
RD
480 void SelectItem(const wxTreeItemId& item, bool unselect_others=TRUE,
481 bool extended_select=FALSE);
28eab81f
RD
482 void SelectAll(bool extended_select=FALSE);
483 // make sure this item is visible (expanding the parent item and/or
484 // scrolling to this item if necessary)
1fded56b 485 void EnsureVisible(const wxTreeItemId& item);
28eab81f 486 // scroll to this item (but don't expand its parent)
1fded56b
RD
487 void ScrollTo(const wxTreeItemId& item);
488 //void AdjustMyScrollbars();
489
28eab81f
RD
490 // The first function is more portable (because easier to implement
491 // on other platforms), but the second one returns some extra info.
1fded56b
RD
492 wxTreeItemId HitTest(const wxPoint& point)
493 { int dummy; return HitTest(point, dummy); }
494 wxTreeItemId HitTest(const wxPoint& point, int& flags)
495 { int col; return HitTest(point, flags, col); }
496 wxTreeItemId HitTest(const wxPoint& point, int& flags, int& column);
497
28eab81f 498 // get the bounding rectangle of the item (or of its label only)
1fded56b
RD
499 bool GetBoundingRect(const wxTreeItemId& item,
500 wxRect& rect,
501 bool textOnly = FALSE) const;
502
28eab81f
RD
503 // Start editing the item label: this (temporarily) replaces the item
504 // with a one line edit control. The item will be selected if it hadn't
505 // been before.
1fded56b
RD
506 void EditLabel( const wxTreeItemId& item ) { Edit( item ); }
507 void Edit( const wxTreeItemId& item );
508
509 // sorting
28eab81f
RD
510 // this function is called to compare 2 items and should return -1, 0
511 // or +1 if the first item is less than, equal to or greater than the
512 // second one. The base class version performs alphabetic comparaison
513 // of item labels (GetText)
1fded56b
RD
514 virtual int OnCompareItems(const wxTreeItemId& item1,
515 const wxTreeItemId& item2);
28eab81f
RD
516 // sort the children of this item using OnCompareItems
517 //
518 // NB: this function is not reentrant and not MT-safe (FIXME)!
1fded56b
RD
519 void SortChildren(const wxTreeItemId& item);
520
28eab81f
RD
521 // searching
522 wxTreeItemId FindItem (const wxTreeItemId& item, const wxString& str, int flags = 0);
1fded56b
RD
523
524 // overridden base class virtuals
525 virtual bool SetBackgroundColour(const wxColour& colour);
526 virtual bool SetForegroundColour(const wxColour& colour);
527
528
529 wxTreeListHeaderWindow* GetHeaderWindow() const
530 { return m_header_win; }
531
532 wxTreeListMainWindow* GetMainWindow() const
533 { return m_main_win; }
534
3872d96d
RD
535 virtual wxSize DoGetBestSize() const;
536
1fded56b
RD
537protected:
538 // header window, responsible for column visualization and manipulation
539 wxTreeListHeaderWindow* m_header_win;
540 // main window, the "true" tree ctrl
541 wxTreeListMainWindow* m_main_win;
542
28eab81f
RD
543// // the common part of all ctors
544// void Init();
1fded56b 545
4f73709d 546 void OnGetToolTip( wxTreeEvent &event );
1fded56b 547 void OnSize(wxSizeEvent& event);
8e3ca43b 548 void CalculateAndSetHeaderHeight();
136518e5 549 void DoHeaderLayout();
1fded56b
RD
550
551private:
28eab81f 552 size_t fill_column;
8e3ca43b 553 size_t m_headerHeight;
28eab81f 554
1fded56b
RD
555 DECLARE_EVENT_TABLE()
556 DECLARE_DYNAMIC_CLASS(wxTreeListCtrl)
557};
558
559#endif // TREELISTCTRL_H
560