#ifndef _WX_XH_CHCKB_H_
#define _WX_XH_CHCKB_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "xh_chckb.h"
#endif
#if wxUSE_CHECKBOX
-class WXXMLDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxCheckBoxXmlHandler : public wxXmlResourceHandler
{
+DECLARE_DYNAMIC_CLASS(wxCheckBoxXmlHandler)
public:
wxCheckBoxXmlHandler();
virtual wxObject *DoCreateResource();