respect absence of wxCENTRE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-06-28 21:46:05 +00:00
parent 91fa114d88
commit 8316ff5d98

View File

@@ -300,7 +300,8 @@ bool wxAnyChoiceDialog::Create(wxWindow *parent,
topsizer->SetSizeHints( this );
topsizer->Fit( this );
Centre( wxBOTH );
if ( styleDlg & wxCENTRE )
Centre(wxBOTH);
m_listbox->SetFocus();