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