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