From: Mattia Barbon Date: Thu, 25 Jul 2002 20:29:55 +0000 (+0000) Subject: Applied patch from Ian Brown to make menus look better in wxMotif (#586347) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4464ec9e903ac684d190a0a232d24ae50171aa1e Applied patch from Ian Brown to make menus look better in wxMotif (#586347) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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) {