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