git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27873
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
m_dirCtrl = new wxGenericDirCtrl(this, ID_DIRCTRL,
#endif
m_dirCtrl = new wxGenericDirCtrl(this, ID_DIRCTRL,
+ m_path, wxDefaultPosition,
wxSize(300, 200),
dirStyle);
wxSize(300, 200),
dirStyle);
// 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 );
wxButton* cancelButton = new wxButton(this, wxID_CANCEL, _("Cancel"));
buttonsizer->Add( cancelButton, 0, wxLEFT|wxRIGHT, 10 );
wxButton* cancelButton = new wxButton(this, wxID_CANCEL, _("Cancel"));
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 );
okButton->SetDefault();
m_dirCtrl->SetFocus();
okButton->SetDefault();
m_dirCtrl->SetFocus();