]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobox.cpp
fixes return values of wxSemaphore::TryWait() and WaitTimeout() to behave as documented
[wxWidgets.git] / src / motif / radiobox.cpp
index 98368633fc2cb61c6c1f1701dbeaff2880ba0e54..6659d3d324a9701d56e8c2b683a7fd9ca3cd5f93 100644 (file)
@@ -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,