14DIALOG_PCM_BASE::DIALOG_PCM_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
16 this->SetSizeHints( wxSize( 940,550 ), wxDefaultSize );
18 wxBoxSizer* m_MainSizer;
19 m_MainSizer =
new wxBoxSizer( wxVERTICAL );
21 wxBoxSizer* m_TopSizer;
22 m_TopSizer =
new wxBoxSizer( wxVERTICAL );
24 m_dialogNotebook =
new wxNotebook(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
27 bSizer4 =
new wxBoxSizer( wxVERTICAL );
30 bSizer6 =
new wxBoxSizer( wxHORIZONTAL );
32 wxArrayString m_choiceRepositoryChoices;
38 bSizer6->Add(
m_buttonManage, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
41 bSizer4->Add( bSizer6, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
56 bSizer7 =
new wxBoxSizer( wxVERTICAL );
64 m_panelPending->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
67 bSizer8 =
new wxBoxSizer( wxVERTICAL );
104 bSizer9 =
new wxBoxSizer( wxHORIZONTAL );
112 bSizer9->Add( 0, 0, 1, wxEXPAND, 5 );
115 bSizer8->Add( bSizer9, 0, wxEXPAND, 0 );
126 m_MainSizer->Add( m_TopSizer, 1, wxEXPAND, 5 );
128 wxBoxSizer* m_BottomSizer;
129 m_BottomSizer =
new wxBoxSizer( wxHORIZONTAL );
131 m_refreshButton =
new wxButton(
this, wxID_ANY,
_(
"Refresh"), wxDefaultPosition, wxDefaultSize, 0 );
132 m_BottomSizer->Add(
m_refreshButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
134 m_installLocalButton =
new wxButton(
this, wxID_ANY,
_(
"Install from File..."), wxDefaultPosition, wxDefaultSize, 0 );
137 m_openPackageDirButton =
new wxButton(
this, wxID_ANY,
_(
"Open Package Directory"), wxDefaultPosition, wxDefaultSize, 0 );
141 m_BottomSizer->Add( 0, 0, 1, 0, 5 );
152 m_BottomSizer->Add(
m_sdbSizer1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
155 m_MainSizer->Add( m_BottomSizer, 0, wxEXPAND|wxLEFT, 5 );
158 this->SetSizer( m_MainSizer );
160 m_MainSizer->Fit(
this );
162 this->Centre( wxBOTH );