if (label1 != "")
{
wxXmString text(label1);
- (void)XtVaCreateManagedWidget( label1.c_str(),
+ m_labelWidget = (WXWidget)
+ XtVaCreateManagedWidget( label1.c_str(),
#if wxUSE_GADGETS
style & wxCOLOURED ? xmLabelWidgetClass
: xmLabelGadgetClass,
{
wxString str(wxStripMenuCodes(choices[i]));
m_radioButtonLabels[i] = str;
- m_radioButtons[i] = (WXWidget) XtVaCreateManagedWidget ((char*) (const char*) str,
+ m_radioButtons[i] = (WXWidget) XtVaCreateManagedWidget (wxConstCast(str.c_str(), char),
#if wxUSE_GADGETS
xmToggleButtonGadgetClass, radioBoxWidget,
#else