From abe2606b703f615dbe96d2d7a54345c0b27b9843 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Jun 1999 13:55:18 +0000 Subject: [PATCH] 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 --- src/generic/choicdgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/choicdgg.cpp b/src/generic/choicdgg.cpp index be19331e80..25483ca765 100644 --- a/src/generic/choicdgg.cpp +++ b/src/generic/choicdgg.cpp @@ -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