--- AE/Installer/trunk/source/main_window.cpp 2009/06/23 02:53:59 372 +++ AE/Installer/trunk/source/main_window.cpp 2009/06/23 21:41:34 373 @@ -1274,21 +1274,17 @@ void MainWindow::OnModsCheckboxList1Togg void MainWindow::OnOptionsClick( wxCommandEvent& event ) { - - - - if (!event.GetInt() ) { OptionsPanel->Hide(); this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()-OptionsPanel->GetRect().GetHeight());} else { // Uncomment this when we release, it gets annoying if you are testing globalization a lot ;) - wxMessageDialog* YesNoDialog = new wxMessageDialog(this, "WARNING: These options are for advanced users only, use with caution.", "AE Installer Alert", wxOK | wxICON_EXCLAMATION , wxDefaultPosition); + wxMessageDialog* YesNoDialog = new wxMessageDialog(this, "WARNING: These options are for advanced users only, use with caution.", + "AE Installer Alert", wxOK | wxICON_EXCLAMATION , wxDefaultPosition); YesNoDialog->ShowModal(); OptionsPanel->Show(); - this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight()); + this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight()+2); } - }