FormFrame::FormFrame( Form *form ) : Presentation( form ), FormWindow( form ), zDialogFrame( 0, new zSizer(150, 150, 800, 500), DS_MODALFRAME | WS_CAPTION, "Formular" ) { window = this; setupFields(); setupPanel(); }
DlgViewports::DlgViewports() : wxDialog(DlgViewports::Parent, -1, wxT("Nau - Viewports"), wxDefaultPosition, wxDefaultSize, wxRESIZE_BORDER | wxDEFAULT_DIALOG_STYLE), m_Name("Viewport Dialog") { wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL); setupPanel(sizer,Parent); SetAutoLayout(TRUE); sizer->SetSizeHints(this); sizer->Fit(this); SetSizer(sizer); this->SetSize(350, 400); }