Preserve previous state of sizers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -252,7 +252,7 @@ bool wxAnyChoiceDialog::Create(wxWindow *parent,
|
||||
wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL );
|
||||
|
||||
// 1) text message
|
||||
topsizer->Add( CreateTextSizer( message ), 0, wxEXPAND, wxLARGESMALL(10,0) );
|
||||
topsizer->Add( CreateTextSizer( message ), 0, wxALL, wxLARGESMALL(10,0) );
|
||||
|
||||
// 2) list box
|
||||
m_listbox = new wxListBox( this, wxID_LISTBOX,
|
||||
@@ -262,7 +262,7 @@ bool wxAnyChoiceDialog::Create(wxWindow *parent,
|
||||
if ( n > 0 )
|
||||
m_listbox->SetSelection(0);
|
||||
|
||||
topsizer->Add( m_listbox, 1, wxEXPAND, wxLARGESMALL(15,0) );
|
||||
topsizer->Add( m_listbox, 1, wxEXPAND | wxLEFT|wxRIGHT, wxLARGESMALL(15,0) );
|
||||
|
||||
#ifdef __SMARTPHONE__
|
||||
|
||||
|
Reference in New Issue
Block a user