X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b0881393cc1bbc81f8d57a257494a27489798dd..cc8cc54f8308660af5730d8c3da5ba4710dc0dbb:/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();