+ wxSizer *topsizer, *sizer;
+ topsizer = new wxBoxSizer(wxVERTICAL);
+
+ sizer = new wxBoxSizer(wxHORIZONTAL);
+ sizer->Add(familyChoice, 0, wxALIGN_CENTER | wxLEFT, 10);
+ sizer->Add(styleChoice, 0, wxALIGN_CENTER | wxLEFT, 10);
+ sizer->Add(weightChoice, 0, wxALIGN_CENTER | wxLEFT, 10);
+ topsizer->Add(sizer, 0, wxLEFT| wxTOP| wxRIGHT, 10);
+
+ sizer = new wxBoxSizer(wxHORIZONTAL);
+ sizer->Add(colourChoice, 0, wxALIGN_CENTER | wxLEFT, 10);
+ sizer->Add(pointSizeChoice, 0, wxALIGN_CENTER | wxLEFT, 10);
+ sizer->Add(underLineCheckBox, 0, wxALIGN_CENTER | wxLEFT, 10);
+ topsizer->Add(sizer, 0, wxLEFT| wxTOP| wxRIGHT, 10);
+
+ topsizer->Add(m_previewer, 1, wxALL | wxEXPAND, 10);
+ topsizer->SetItemMinSize(m_previewer, 430, 100);
+
+ sizer = new wxBoxSizer(wxHORIZONTAL);
+ sizer->Add(okButton, 0, wxRIGHT, 10);
+ sizer->Add(cancelButton, 0, wxRIGHT, 10);
+ topsizer->Add(sizer, 0, wxALIGN_RIGHT | wxBOTTOM, 10);
+
+ SetAutoLayout(TRUE);
+ SetSizer(topsizer);
+ topsizer->SetSizeHints(this);
+ topsizer->Fit(this);