X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b914917f2ce9651f6accb21f50e143a557c96a45..5dea30b3095e97ec18640105e598ff47cc2484ea:/src/motif/menu.cpp?ds=sidebyside diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index 65fcead053..5f30a95496 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -446,7 +446,7 @@ void wxMenu::DestroyWidgetAndDetach() WXWidget wxMenu::CreateMenu (wxMenuBar * menuBar, WXWidget parent, wxMenu * topMenu, - size_t WXUNUSED(index), + size_t menuIndex, const wxString& title, bool pullDown) { @@ -493,7 +493,7 @@ WXWidget wxMenu::CreateMenu (wxMenuBar * menuBar, XmNlabelString, label_str(), XmNsubMenuId, menu, (String)wxFont::GetFontTag(), m_font.GetFontTypeC(dpy), - XmNpositionIndex, index, + XmNpositionIndex, menuIndex, NULL); if (mnem != 0)