wxBaseTreeCtrl

A basic tree control.  A tree control displays items in a tree hierarchy with node selection and expansion.  Icons may also be added to each node in the tree.  The class wxBaseTreeCtrl provides a simple base class for all tree controls in the game, providing a common look and feel across UI objects.  It is in all ways like a wxTreeCtrl, except that it sets its background to the background of its parent window, and sets its foreground color to white.

Derived From

wxTreeCtrl (see http://www.wxwindows.org/manuals/2.4.2/wx399.htm)

Project

UICore

Include

BaseTreeCtrl.h

Summary
A basic tree control.
The wxBaseTreeCtrl constructor.

Public

Summary
The wxBaseTreeCtrl constructor.

Constructors

wxBaseTreeCtrl

wxBaseTreeCtrl(wxWindow *parent, 
wxWindowID id, 
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
const wxInt32 style = wxTR_HIDE_ROOT | wxTR_NO_BUTTONS | wxTR_NO_LINES | wxTR_FULL_ROW_HIGHLIGHT | wxTR_SINGLE)

The wxBaseTreeCtrl constructor.  Creates the list control with the given position, size, etc.

Parameters

parentThe parent window.  Must not be NULL.
idThe message handling ID.  Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control.
posThe tree control position in window coordinates.
sizeThe tree control size.
styleThe tree control style.
wxBaseTreeCtrl(wxWindow *parent, 
wxWindowID id, 
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
const wxInt32 style = wxTR_HIDE_ROOT | wxTR_NO_BUTTONS | wxTR_NO_LINES | wxTR_FULL_ROW_HIGHLIGHT | wxTR_SINGLE)
The wxBaseTreeCtrl constructor.
UICore provides a set of common UI controls that promote a constant look and feel across all aspects of the UI.