Ignore:
Timestamp:
Jun 20, 2009, 12:25:08 AM (16 years ago)
Author:
gumby
Message:

Fixed bugs:
Missing globalize code on start
possibly fixed adv option menu
type "Step33/36"
const thing in struct ModPackage

File:
1 edited

Legend:

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

    r357 r358  
    301301                for(int j = 0; j < GDFPaths.size(); j++) {
    302302                        logfile << "\tReimporting " << GDFPaths[j].filename() << ".oni\n";
    303                         setStatusArea("Step" + lexical_cast<std::string>(parts_done + 1) + "/" + lexical_cast<std::string>(total_steps) + ": reimporting " + GDFPaths[j].filename() );
     303                        setStatusArea("Step " + lexical_cast<std::string>(parts_done + 1) + "/" + lexical_cast<std::string>(total_steps) + ": reimporting " + GDFPaths[j].filename() );
    304304                        system((strOniSplit + " " + strImportOption + " " + GDFPaths[j].string() + " " + VanillaPaths[j].string()).c_str());
    305305                        parts_done++;
     
    12801280        if (!event.GetInt() ) {
    12811281                OptionsPanel->Hide();
    1282                 MainWindow::SetSize(MainWindow::GetRect().GetWidth(), MainWindow::GetRect().GetHeight()-OptionsPanel->GetRect().GetHeight());}
     1282                this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()-OptionsPanel->GetRect().GetHeight());}
    12831283        else {
    1284                 //Uncomment this when we release, it gets annoying if you are testing globalization a lot ;)
    1285                 //wxMessageDialog* YesNoDialog = new wxMessageDialog(this,                      "WARNING: These options are for advanced users only, use with caution.", "AE Installer Alert",  wxOK | wxICON_EXCLAMATION       , wxDefaultPosition);
    1286                 //YesNoDialog->ShowModal();
     1284//              Uncomment this when we release, it gets annoying if you are testing globalization a lot ;)
     1285                wxMessageDialog* YesNoDialog = new wxMessageDialog(this,                        "WARNING: These options are for advanced users only, use with caution.", "AE Installer Alert",  wxOK | wxICON_EXCLAMATION       , wxDefaultPosition);
     1286                YesNoDialog->ShowModal();
    12871287                OptionsPanel->Show();
    1288                 MainWindow::SetSize(MainWindow::GetRect().GetWidth(), MainWindow::GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight());
    1289         }
     1288                this->SetSize(this->GetRect().GetWidth(), this->GetRect().GetHeight()+OptionsPanel->GetRect().GetHeight());
     1289        }
     1290       
    12901291}
    12911292
Note: See TracChangeset for help on using the changeset viewer.