Contents Up Previous Next

wxPropertyFormFrame

The wxPropertyFormFrame class is a prepackaged frame which can be used for viewing a property form. Pass a property form 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 wxPropertyFormPanel.

Members

wxPropertyFormFrame::wxPropertyFormFrame
wxPropertyFormFrame::~wxPropertyFormFrame
wxPropertyFormFrame::GetPropertyPanel
wxPropertyFormFrame::Initialize
wxPropertyFormFrame::OnCreatePanel


wxPropertyFormFrame::wxPropertyFormFrame

void wxPropertyFormFrame(wxPropertyFormView *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.


wxPropertyFormFrame::~wxPropertyFormFrame

void ~wxPropertyFormFrame()

Destructor.


wxPropertyFormFrame::GetPropertyPanel

wxPanel * GetPropertyPanel()

Returns the panel associated with the frame.


wxPropertyFormFrame::Initialize

bool Initialize()

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


wxPropertyFormFrame::OnCreatePanel

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

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