1274 |
|
|
1275 |
|
void MainWindow::OnOptionsClick( wxCommandEvent& event ) |
1276 |
|
{ |
1277 |
– |
|
1278 |
– |
|
1279 |
– |
|
1280 |
– |
|
1277 |
|
if (!event.GetInt() ) { |
1278 |
|
OptionsPanel->Hide(); |
1279 |
|
this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()-OptionsPanel->GetRect().GetHeight());} |
1280 |
|
else { |
1281 |
|
// Uncomment this when we release, it gets annoying if you are testing globalization a lot ;) |
1282 |
< |
wxMessageDialog* YesNoDialog = new wxMessageDialog(this, "WARNING: These options are for advanced users only, use with caution.", "AE Installer Alert", wxOK | wxICON_EXCLAMATION , wxDefaultPosition); |
1282 |
> |
wxMessageDialog* YesNoDialog = new wxMessageDialog(this, "WARNING: These options are for advanced users only, use with caution.", |
1283 |
> |
"AE Installer Alert", wxOK | wxICON_EXCLAMATION , wxDefaultPosition); |
1284 |
|
YesNoDialog->ShowModal(); |
1285 |
|
OptionsPanel->Show(); |
1286 |
< |
this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight()); |
1286 |
> |
this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight()+2); |
1287 |
|
} |
1291 |
– |
|
1288 |
|
} |
1289 |
|
|
1290 |
|
|