Widget tearOff = XmGetTearOffControl(GetWidget(menu));
wxDoChangeForegroundColour((Widget) tearOff, m_foregroundColour);
wxDoChangeBackgroundColour((Widget) tearOff, m_backgroundColour, true);
-#endif
}
+#endif
}
PostCreation();
WXWidget wxMenu::CreateMenu (wxMenuBar * menuBar,
WXWidget parent,
wxMenu * topMenu,
- size_t WXUNUSED(index),
+ size_t menuIndex,
const wxString& title,
bool pullDown)
{
XmNlabelString, label_str(),
XmNsubMenuId, menu,
(String)wxFont::GetFontTag(), m_font.GetFontTypeC(dpy),
- XmNpositionIndex, index,
+ XmNpositionIndex, menuIndex,
NULL);
if (mnem != 0)