]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_html.h
Remove duplicated typedef depending on header file version.
[wxWidgets.git] / include / wx / xrc / xh_html.h
index daaa93dcc74ab33b6c5eef8a0c3b14f38bbe7458..ac49faa0831a921fe49962208d9a7cfcdd466a1e 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_HTML_H_
 #define _WX_XH_HTML_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_html.h"
 #endif
 
@@ -21,8 +21,9 @@
 
 #if wxUSE_HTML
 
-class WXXMLDLLEXPORT wxHtmlWindowXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxHtmlWindowXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxHtmlWindowXmlHandler)
 public:
     wxHtmlWindowXmlHandler();
     virtual wxObject *DoCreateResource();