X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3a80c922c7f0932f0b3985846e58ef48e3a6da7..918dc51991e5eaa5608d38cd8b7b3d251244d92b:/src/motif/radiobox.cpp diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 98368633fc..6659d3d324 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -102,7 +102,8 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& title, if (label1 != "") { wxXmString text(label1); - (void)XtVaCreateManagedWidget( label1.c_str(), + m_labelWidget = (WXWidget) + XtVaCreateManagedWidget( label1.c_str(), #if wxUSE_GADGETS style & wxCOLOURED ? xmLabelWidgetClass : xmLabelGadgetClass,