Changeset 373 for AE


Ignore:
Timestamp:
Jun 23, 2009, 11:41:34 PM (10 years ago)
Author:
iritscen
Message:

Fixed OptionsPanel->Show refreshing issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AE/Installer/trunk/source/main_window.cpp

    r372 r373  
    12751275void MainWindow::OnOptionsClick( wxCommandEvent& event )
    12761276{
    1277 
    1278 
    1279 
    1280 
    12811277        if (!event.GetInt() ) {
    12821278                OptionsPanel->Hide();
     
    12841280        else {
    12851281//              Uncomment this when we release, it gets annoying if you are testing globalization a lot ;)
    1286                 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);
    12871284                YesNoDialog->ShowModal();
    12881285                OptionsPanel->Show();
    1289                 this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight());
    1290         }
    1291        
     1286                this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight()+2);
     1287        }
    12921288}
    12931289
Note: See TracChangeset for help on using the changeset viewer.