X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b0881393cc1bbc81f8d57a257494a27489798dd..c7cf7a783becd1e88bc548dbd99b8b37e7e11f48:/src/generic/choicdgg.cpp diff --git a/src/generic/choicdgg.cpp b/src/generic/choicdgg.cpp index 6183fdefd3..a71dd76d5c 100644 --- a/src/generic/choicdgg.cpp +++ b/src/generic/choicdgg.cpp @@ -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();