#ifndef _WX_XH_BTTN_H_
#define _WX_XH_BTTN_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "xh_bttn.h"
#endif
#include "wx/xrc/xmlres.h"
-class WXXMLDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxButtonXmlHandler : public wxXmlResourceHandler
{
+DECLARE_DYNAMIC_CLASS(wxButtonXmlHandler)
public:
wxButtonXmlHandler();
virtual wxObject *DoCreateResource();