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:
@@ -340,7 +340,7 @@ bool wxSingleChoiceDialog::Create( wxWindow *WXUNUSED(parent),
|
|||||||
hButton + // button(s)
|
hButton + // button(s)
|
||||||
LAYOUT_Y_MARGIN; // bottom margin
|
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
|
4*LAYOUT_X_MARGIN; // 2 from each side
|
||||||
|
|
||||||
// create the controls
|
// create the controls
|
||||||
|
Reference in New Issue
Block a user