/////////////////////////////////////////////////////////////////////////////
-// Name: xh_panel.h
-// Purpose: XML resource handler for panels
+// Name: wx/xrc/xh_panel.h
+// Purpose: XML resource handler for wxPanel
// Author: Vaclav Slavik
// Created: 2000/03/05
// RCS-ID: $Id$
#ifndef _WX_XH_PANEL_H_
#define _WX_XH_PANEL_H_
-#ifdef __GNUG__
-#pragma interface "xh_panel.h"
-#endif
-
#include "wx/xrc/xmlres.h"
-class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler
+#if wxUSE_XRC
+
+class WXDLLIMPEXP_XRC wxPanelXmlHandler : public wxXmlResourceHandler
{
+ DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler)
+
public:
wxPanelXmlHandler();
virtual wxObject *DoCreateResource();
virtual bool CanHandle(wxXmlNode *node);
};
+#endif // wxUSE_XRC
#endif // _WX_XH_PANEL_H_