X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50414e24a7aa082f2569666421d3ee1ea581a3cd..184b5d99a5382cd7a19888c85aff11f8a21af2f6:/src/motif/menu.cpp?ds=inline diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index 53df95214b..d10b977174 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -74,6 +74,7 @@ wxMenu::wxMenu(const wxString& title, const wxFunction func) m_topLevelMenu = (wxMenu*) NULL; m_ownedByMenuBar = FALSE; m_menuParent = (wxMenu*) NULL; + m_clientData = (void*) NULL; if (m_title != "") { @@ -822,7 +823,7 @@ WXWidget wxMenu::CreateMenu (wxMenuBar * menuBar, WXWidget parent, wxMenu * topM XmString label_str = XmStringCreateSimple (wxBuffer); buttonWidget = XtVaCreateManagedWidget (wxBuffer, -#if USE_GADGETS +#if wxUSE_GADGETS xmCascadeButtonGadgetClass, (Widget) parent, #else xmCascadeButtonWidgetClass, (Widget) parent,