wxFrame::wxFrame
void wxFrame(wxFrame *parent, char *title, int x = -1, int y = -1,
int width = -1, int height = -1,
int style = wxSDI | wxDEFAULT_FRAME, char *name = "frame")
Constructor. The parent parameter can be NULL or an existing frame;
if an existing frame is used under Windows 3, the child frame is always on top
of the parent, and will be iconized when the parent is iconized.
If title is non-NULL, it is placed on the window frame.
The style parameter may be a combination of the following, using the bitwise 'or' operator.
- wxICONIZE: display the frame iconized (minimized) (Windows only).
- wxCAPTION: puts a caption on the frame (under XView and Motif this is mandatory).
- wxDEFAULT_FRAME: defined as (wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION).
- wxMDI_CHILD: specifies a Windows MDI (multiple document interface) child frame.
- wxMDI_PARENT: specifies a Windows MDI (multiple document interface) parent frame.
- wxMINIMIZE: identical to wxICONIZE.
- wxMINIMIZE_BOX: display a minimize box on the frame (Windows only).
- wxMAXIMIZE: display the frame maximized (Windows only).
- wxMAXIMIZE_BOX: display a maximize box on the frame (Windows only).
- wxSDI: specifies a normal SDI (single document interface) frame.
- wxSTAY_ON_TOP: stay on top of other windows (Windows only).
- wxSYSTEM_MENU: display a system menu (manadatory under XView and Motif).
- wxTHICK_FRAME: display a thick frame around the window (manadatory under XView and Motif).
The name parameter is used to associate a name with the item,
allowing the application user to set Motif resource values for
individual windows.