/////////////////////////////////////////////////////////////////////////////
-// Name: xh_radbt.cpp
+// Name: src/xrc/xh_radbt.cpp
// Purpose: XRC resource for wxRadioButton
// Author: Bob Mitchell
// Created: 2000/03/21
-// RCS-ID: $Id$
// Copyright: (c) 2000 Bob Mitchell and Verant Interactive
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation "xh_radbt.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_RADIOBOX
+#if wxUSE_XRC && wxUSE_RADIOBTN
#include "wx/xrc/xh_radbt.h"
-#include "wx/radiobut.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/radiobut.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxRadioButtonXmlHandler, wxXmlResourceHandler)
: wxXmlResourceHandler()
{
XRC_ADD_STYLE(wxRB_GROUP);
+ XRC_ADD_STYLE(wxRB_SINGLE);
AddWindowStyles();
}
return IsOfClass(node, wxT("wxRadioButton"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_NOTEBOOK
+#endif // wxUSE_XRC && wxUSE_RADIOBTN