From 66cbc96ddfad4edae9cbc6327f5916e1b0750697 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 4 Nov 1999 16:33:09 +0000 Subject: [PATCH] bug with object being passed through ... corrected git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/menuitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motif/menuitem.cpp b/src/motif/menuitem.cpp index 2bd43ebf94..53de7f5382 100644 --- a/src/motif/menuitem.cpp +++ b/src/motif/menuitem.cpp @@ -314,7 +314,7 @@ void wxMenuItem::SetText(const wxString& label) { wxXmString label_str(label2); XtVaSetValues ((Widget) m_buttonWidget, - XmNlabelString, label_str, + XmNlabelString, label_str(), NULL); if (mnem != 0) XtVaSetValues ((Widget) m_buttonWidget, XmNmnemonic, mnem, NULL); -- 2.45.2