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