a small cosmetic fix for single choice dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dff4a8684d
commit
abe2606b70
@ -340,7 +340,7 @@ bool wxSingleChoiceDialog::Create( wxWindow *WXUNUSED(parent),
|
||||
hButton + // button(s)
|
||||
LAYOUT_Y_MARGIN; // bottom margin
|
||||
|
||||
long wDialog = wxMax(wTotalButtons, widthTextMax) +
|
||||
long wDialog = wxMax(wListbox, wxMax(wTotalButtons, widthTextMax)) +
|
||||
4*LAYOUT_X_MARGIN; // 2 from each side
|
||||
|
||||
// create the controls
|
||||
|
Loading…
Reference in New Issue
Block a user