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:
Włodzimierz Skiba
2004-06-23 10:57:33 +00:00
parent 119727ad9e
commit 718970e590

View File

@@ -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__