Changeset 328 for AE/Installer/trunk


Ignore:
Timestamp:
Jun 1, 2009, 4:04:33 AM (15 years ago)
Author:
gumby
Message:

Added a border, probably

Location:
AE/Installer/trunk/source
Files:
2 edited

Legend:

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

    r327 r328  
    937937    EVT_RADIOBUTTON( NoSep_RadioButton, MainWindow::OnNoSepRadioButtonSelected )
    938938
    939     EVT_RADIOBUTTON( Separated_RadioButton, MainWindow::OnSeparatedRadioButtonSelected )
     939    EVT_RADIOBUTTON( Seperated_RadioButton, MainWindow::OnSeperatedRadioButtonSelected )
    940940
    941941    EVT_RADIOBUTTON( Complete_RadioButton, MainWindow::OnCompleteRadioButtonSelected )
     
    10221022    SepRadio = NULL;
    10231023    NoSepRadio = NULL;
    1024     SeparatedRadio = NULL;
     1024    SeperatedRadio = NULL;
    10251025    CompleteRadio = NULL;
    10261026    ReglobalizeButton = NULL;
     
    10391039{   
    10401040////@begin MainWindow content construction
     1041    // Generated by DialogBlocks, 31/05/2009 19:03:55 (unregistered)
     1042
    10411043    MainWindow* itemFrame1 = this;
    10421044
     
    11241126    itemBoxSizer11->Add(itemStaticLine17, 0, wxGROW|wxALL, 5);
    11251127
    1126     descriptionText = new wxTextCtrl( itemPanel10, Description_Text, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxTE_RICH|wxTE_RICH2 );
     1128    descriptionText = new wxTextCtrl( itemPanel10, Description_Text, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY|wxTE_RICH|wxTE_AUTO_URL );
    11271129    descriptionText->SetName(_T("DescriptionName"));
    11281130    descriptionText->SetBackgroundColour(wxColour(240, 240, 240));
     
    11411143    itemBoxSizer2->Add(itemBoxSizer20, 0, wxGROW|wxALL, 0);
    11421144
    1143     ProgressBar = new wxGauge( itemFrame1, ProgressBar_Gauge, 1000, wxDefaultPosition, wxDefaultSize, wxGA_SMOOTH );
     1145    ProgressBar = new wxGauge( itemFrame1, ProgressBar_Gauge, 1000, wxDefaultPosition, wxSize(-1, 30), wxGA_SMOOTH );
    11441146    ProgressBar->SetValue(0);
    11451147    itemBoxSizer20->Add(ProgressBar, 1, wxGROW|wxALL, 0);
    11461148
    1147     InstallButton = new wxButton( itemFrame1, Install_Button, _("Install!"), wxDefaultPosition, wxDefaultSize, 0 );
     1149    InstallButton = new wxButton( itemFrame1, Install_Button, _("Install!"), wxDefaultPosition, wxSize(-1, 30), 0 );
    11481150    itemBoxSizer20->Add(InstallButton, 0, wxGROW|wxALL, 0);
    11491151
     
    11781180    itemBoxSizer25->Add(itemBoxSizer30, 0, wxGROW|wxALL, 5);
    11791181
    1180     SeparatedRadio = new wxRadioButton( OptionsPanel, Separated_RadioButton, _("Separated Level0"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
    1181     SeparatedRadio->SetValue(false);
    1182     SeparatedRadio->SetName(_T("Separated_RadioButton"));
    1183     itemBoxSizer30->Add(SeparatedRadio, 0, wxALIGN_LEFT|wxALL, 5);
     1182    SeperatedRadio = new wxRadioButton( OptionsPanel, Seperated_RadioButton, _("Separated Level0"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
     1183    SeperatedRadio->SetValue(false);
     1184    SeperatedRadio->SetName(_T("Seperated_RadioButton"));
     1185    itemBoxSizer30->Add(SeperatedRadio, 0, wxALIGN_LEFT|wxALL, 5);
    11841186
    11851187    CompleteRadio = new wxRadioButton( OptionsPanel, Complete_RadioButton, _("Complete Level0"), wxDefaultPosition, wxDefaultSize, 0 );
     
    16341636}
    16351637
     1638
     1639/*
     1640 * wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for Seperated_RadioButton
     1641 */
     1642
     1643void MainWindow::OnSeperatedRadioButtonSelected( wxCommandEvent& event )
     1644{
     1645////@begin wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for Seperated_RadioButton in MainWindow.
     1646    // Before editing this code, remove the block markers.
     1647    event.Skip();
     1648////@end wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for Seperated_RadioButton in MainWindow.
     1649}
     1650
  • AE/Installer/trunk/source/main_window.h

    r325 r328  
    5757#define Sep_RadioButton 10013
    5858#define NoSep_RadioButton 10014
    59 #define Separated_RadioButton 10015
     59#define Seperated_RadioButton 10015
    6060#define Complete_RadioButton 10016
    6161#define ReGlobalize_Button 10018
    6262#define wxID_LOAD 10006
    6363#define wxID_OPTIONS 10017
    64 #define SYMBOL_MAINWINDOW_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxCLOSE_BOX
     64#define SYMBOL_MAINWINDOW_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxCLOSE_BOX|wxSIMPLE_BORDER
    6565#define SYMBOL_MAINWINDOW_TITLE _("Installer")
    6666#define SYMBOL_MAINWINDOW_IDNAME ID_MAINWINDOW
     
    128128    void OnNoSepRadioButtonSelected( wxCommandEvent& event );
    129129
    130     /// wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for Separated_RadioButton
    131     void OnSeparatedRadioButtonSelected( wxCommandEvent& event );
     130    /// wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for Seperated_RadioButton
     131    void OnSeperatedRadioButtonSelected( wxCommandEvent& event );
    132132
    133133    /// wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for Complete_RadioButton
     
    180180    wxRadioButton* SepRadio;
    181181    wxRadioButton* NoSepRadio;
    182     wxRadioButton* SeparatedRadio;
     182    wxRadioButton* SeperatedRadio;
    183183    wxRadioButton* CompleteRadio;
    184184    wxButton* ReglobalizeButton;
Note: See TracChangeset for help on using the changeset viewer.