]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_html.h
Reverted patch [ 746201 ] (partially) because of unwanted side-effects
[wxWidgets.git] / include / wx / xrc / xh_html.h
index daaa93dcc74ab33b6c5eef8a0c3b14f38bbe7458..12db27088846b57eb7b66239b547f4830a510fc1 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
 
@@ -23,6 +23,7 @@
 
 class WXXMLDLLEXPORT wxHtmlWindowXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxHtmlWindowXmlHandler)
 public:
     wxHtmlWindowXmlHandler();
     virtual wxObject *DoCreateResource();