]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/menu.cpp
//... => /* ... */
[wxWidgets.git] / src / motif / menu.cpp
index cc88c9806edc430d8e4526eb367b825472a3bfe1..ed12ce6732e24f0343b8bedfcc6880987d577b20 100644 (file)
@@ -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);