#ifndef __DOS__
wxBitmapButton* homeButton =
new wxBitmapButton(this, ID_GO_HOME,
#ifndef __DOS__
wxBitmapButton* homeButton =
new wxBitmapButton(this, ID_GO_HOME,
buttonsizer->Add( homeButton, 0, wxLEFT|wxRIGHT, 10 );
#endif
buttonsizer->Add( homeButton, 0, wxLEFT|wxRIGHT, 10 );
#endif
{
wxBitmapButton* newButton =
new wxBitmapButton(this, ID_NEW,
{
wxBitmapButton* newButton =
new wxBitmapButton(this, ID_NEW,
buttonsizer->Add( newButton, 0, wxRIGHT, 10 );
#if wxUSE_TOOLTIPS
newButton->SetToolTip(_("Create new directory"));
buttonsizer->Add( newButton, 0, wxRIGHT, 10 );
#if wxUSE_TOOLTIPS
newButton->SetToolTip(_("Create new directory"));
// Make the an option depending on a flag?
wxCheckBox* check = new wxCheckBox( this, ID_SHOW_HIDDEN, _("Show hidden directories") );
// Make the an option depending on a flag?
wxCheckBox* check = new wxCheckBox( this, ID_SHOW_HIDDEN, _("Show hidden directories") );
- topsizer->Add( check, 0, wxLEFT|wxTOP | wxALIGN_RIGHT, 5 );
+ topsizer->Add( check, 0, wxLEFT|wxRIGHT|wxTOP | wxALIGN_RIGHT, 10 );
// 2) text ctrl
m_input = new wxTextCtrl( this, ID_TEXTCTRL, m_path, wxDefaultPosition );
// 2) text ctrl
m_input = new wxTextCtrl( this, ID_TEXTCTRL, m_path, wxDefaultPosition );
buttonsizer->Add( okButton, 0, wxLEFT|wxRIGHT, 10 );
buttonsizer->Add( okButton, 0, wxLEFT|wxRIGHT, 10 );
buttonsizer->Add( cancelButton, 0, wxLEFT|wxRIGHT, 10 );
buttonsizer->Add( cancelButton, 0, wxLEFT|wxRIGHT, 10 );
- topsizer->Add( buttonsizer, 0, wxALL | wxALIGN_RIGHT, 10 );
+ topsizer->Add( buttonsizer, 0, wxLEFT|wxTOP|wxBOTTOM | wxALIGN_RIGHT, 10 );