From: Václav Slavík Date: Mon, 28 Jun 2004 21:46:05 +0000 (+0000) Subject: respect absence of wxCENTRE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8316ff5d98f14f8d39fbe15a7fb9248e1f1194f4?ds=inline respect absence of wxCENTRE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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();