// Copyright: (c) 2000 Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
+
// -- Already done in xmlres.cpp
//#ifdef __GNUG__
//#pragma implementation "xmlres.h"
#pragma hdrstop
#endif
+#if wxUSE_XRC
+
#include "wx/xrc/xmlres.h"
#include "wx/xrc/xh_all.h"
#endif
#if wxUSE_CHECKBOX
AddHandler(new wxCheckBoxXmlHandler);
-#endif
+#endif
+#if wxUSE_TOGGLEBTN
+ AddHandler(new wxToggleButtonXmlHandler);
+#endif
#if wxUSE_HTML
AddHandler(new wxHtmlWindowXmlHandler);
-#endif
+#endif
#if wxUSE_SPINBTN
AddHandler(new wxSpinButtonXmlHandler);
-#endif
+#endif
#if wxUSE_SPINCTRL
AddHandler(new wxSpinCtrlXmlHandler);
-#endif
+#endif
#if wxUSE_SCROLLBAR
AddHandler(new wxScrollBarXmlHandler);
#endif
AddHandler(new wxStatusBarXmlHandler);
#endif
}
+
+#endif // wxUSE_XRC