#pragma hdrstop
#endif
+#if wxUSE_XRC && wxUSE_TOOLBAR
+
#include "wx/xrc/xh_toolb.h"
#include "wx/toolbar.h"
#include "wx/frame.h"
-#if wxUSE_TOOLBAR
-
IMPLEMENT_DYNAMIC_CLASS(wxToolBarXmlHandler, wxXmlResourceHandler)
wxToolBarXmlHandler::wxToolBarXmlHandler()
(m_isInside && IsOfClass(node, wxT("separator"))));
}
-#endif
+#endif // wxUSE_XRC && wxUSE_TOOLBAR