X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31528cd3cac75558beef4bce0ba21fd182a808ab..866592d872daa1f4e3d44948d7d3a6c90b0af9d0:/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);