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:
parent
508379ee46
commit
66cbc96ddf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user