// Author: Julian Smart
// Modified by:
// Created: 17/09/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if wxUSE_RADIOBOX
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#endif
-
#include "wx/radiobox.h"
#ifndef WX_PRECOMP
wxString str(GetLabelText(choices[i]));
m_radioButtonLabels.push_back(str);
Widget radioItem = XtVaCreateManagedWidget (
- wxConstCast(str.mb_str(), char),
+ str.mb_str(),
#if wxUSE_GADGETS
xmToggleButtonGadgetClass, radioBoxWidget,
#else
if (item->InSetValue())
return;
- wxCommandEvent event (wxEVT_COMMAND_RADIOBOX_SELECTED, item->GetId());
+ wxCommandEvent event (wxEVT_RADIOBOX, item->GetId());
event.SetInt(sel);
event.SetString(item->GetStringSelection());
event.SetEventObject(item);