Contents Up Previous Next

wxPropertyListFrame

The wxPropertyListFrame class is a prepackaged frame which can be used for viewing a property list. Pass a property list view object, and the frame will pass OnClose messages to the view class for processing.

Call Initialize to create the panel and associate the view; override OnCreatePanel if you wish to use a panel class other than the default wxPropertyListPanel.

Members

wxPropertyListFrame::wxPropertyListFrame
wxPropertyListFrame::~wxPropertyListFrame
wxPropertyListFrame::GetPropertyPanel
wxPropertyListFrame::Initialize
wxPropertyListFrame::OnCreatePanel


wxPropertyListFrame::wxPropertyListFrame

void wxPropertyListFrame(wxPropertyListView *view, wxFrame *parent, char *title, int x=-1, int y=-1, int width=-1, intheight=-1, long style=wxSDI | wxDEFAULT_FRAME, char *name="frame")

Constructor.


wxPropertyListFrame::~wxPropertyListFrame

void ~wxPropertyListFrame()

Destructor.


wxPropertyListFrame::GetPropertyPanel

wxPanel * GetPropertyPanel()

Returns the panel associated with the frame.


wxPropertyListFrame::Initialize

bool Initialize()

Must be called to create the panel and associate the view with the panel and frame.


wxPropertyListFrame::OnCreatePanel

wxPanel * OnCreatePanel(wxFrame *parent, wxPropertyListView *view)

Creates a panel. Override this to create a panel type other than wxPropertyListPanel.