bug with object being passed through ... corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -314,7 +314,7 @@ void wxMenuItem::SetText(const wxString& label)
|
|||||||
{
|
{
|
||||||
wxXmString label_str(label2);
|
wxXmString label_str(label2);
|
||||||
XtVaSetValues ((Widget) m_buttonWidget,
|
XtVaSetValues ((Widget) m_buttonWidget,
|
||||||
XmNlabelString, label_str,
|
XmNlabelString, label_str(),
|
||||||
NULL);
|
NULL);
|
||||||
if (mnem != 0)
|
if (mnem != 0)
|
||||||
XtVaSetValues ((Widget) m_buttonWidget, XmNmnemonic, mnem, NULL);
|
XtVaSetValues ((Widget) m_buttonWidget, XmNmnemonic, mnem, NULL);
|
||||||
|
Reference in New Issue
Block a user