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
This commit is contained in:
parent
ebeb769638
commit
4464ec9e90
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user