X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31528cd3cac75558beef4bce0ba21fd182a808ab..4df78dc36e933fb1c3aa7c9d7ae2757a898ae05c:/src/motif/menu.cpp diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index cc88c9806e..ed12ce6732 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -916,7 +916,7 @@ WXWidget wxMenu::CreateMenu (wxMenuBar * menuBar, WXWidget parent, wxMenu * topM #else xmCascadeButtonWidgetClass, (Widget) parent, #endif - XmNlabelString, label_str, + XmNlabelString, label_str(), XmNsubMenuId, menu, NULL);