X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81b299966d524d3d7917e9e4f261f6a382a16ee3..54c7aaca2355973dd33359210b280b4d79d54593:/src/motif/menu.cpp?ds=sidebyside diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index c9b821d683..dbb71ac00c 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -513,7 +513,7 @@ WXWidget wxMenu::CreateMenu (wxMenuBar * menuBar, WXWidget parent, wxMenu * topM Widget buttonWidget = (Widget) 0; Arg args[5]; XtSetArg (args[0], XmNnumColumns, m_numColumns); - XtSetArg (args[1], XmNpacking, XmPACK_COLUMN); + XtSetArg (args[1], XmNpacking, (m_numColumns > 1) ? XmPACK_COLUMN : XmPACK_TIGHT); if (!pullDown) {