15DIALOG_CONFIGURE_PATHS_BASE::DIALOG_CONFIGURE_PATHS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
17 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
19 wxBoxSizer* bSizerMain;
20 bSizerMain =
new wxBoxSizer( wxVERTICAL );
22 wxStaticBoxSizer* sbEnvVars;
23 sbEnvVars =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Environment Variables") ), wxVERTICAL );
25 m_EnvVars =
new WX_GRID( sbEnvVars->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
42 m_EnvVars->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
47 m_EnvVars->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
52 m_EnvVars->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_CENTER );
53 m_EnvVars->SetMinSize( wxSize( 604,170 ) );
55 sbEnvVars->Add(
m_EnvVars, 1, wxALL|wxEXPAND, 5 );
57 wxBoxSizer* bSizerEnvVarBtns;
58 bSizerEnvVarBtns =
new wxBoxSizer( wxHORIZONTAL );
64 bSizerEnvVarBtns->Add( 0, 0, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
70 sbEnvVars->Add( bSizerEnvVarBtns, 0, wxEXPAND, 5 );
73 bSizerMain->Add( sbEnvVars, 1, wxALL|wxEXPAND, 5 );
84 bSizerMain->Add(
m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
87 this->SetSizer( bSizerMain );
89 bSizerMain->Fit(
this );
91 this->Centre( wxBOTH );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
void SetColLabelSize(int aHeight)
Hide wxGrid's SetColLabelSize() method with one which makes sure the size is tall enough for the syst...