| 176 | } |
| 177 | |
| 178 | void GetEffectsDialog::AddLoadingPage() { |
| 179 | wxPanel* page = safenew wxPanel(); |
| 180 | page->Hide(); |
| 181 | page->Create(m_treebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE); |
| 182 | |
| 183 | wxBoxSizer* sizer = safenew wxBoxSizer(wxVERTICAL); |
| 184 | page->SetSizer(sizer); |
| 185 | sizer->AddSpacer(20); |
| 186 | |
| 187 | wxStaticText* title = safenew wxStaticText(page, wxID_ANY, loadingPluginsText.Translation()); |
| 188 | wxFont font = title->GetFont().MakeLarger().MakeBold(); |
| 189 | title->SetFont(font); |
| 190 | |
| 191 | sizer->Add(title, 0, wxALIGN_CENTER_HORIZONTAL); |
| 192 | |
| 193 | m_treebook->AddPage(page, loadingPluginsTabText.Translation()); |
| 194 | } |
| 195 | |
| 196 | void GetEffectsDialog::AddBecomeAPartnerPage() { |
| 197 | wxPanel* page = safenew wxPanel(); |
nothing calls this directly
no test coverage detected