#include "wx/os2/private.h"
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxRadioBox, wxControl)
-#endif
// ---------------------------------------------------------------------------
// private functions
const wxPoint& pos, const wxSize& size,
int n, const wxString choices[],
int majorDim, long style,
+#if wxUSE_VALIDATORS
const wxValidator& val, const wxString& name)
+#endif
{
m_selectedButton = -1;
m_noItems = n;
SetName(name);
+#if wxUSE_VALIDATORS
SetValidator(val);
-
+#endif
parent->AddChild(this);
m_backgroundColour = parent->GetBackgroundColour();
m_foregroundColour = parent->GetForegroundColour();