]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_notbk.h
Reverted patch [ 746201 ] (partially) because of unwanted side-effects
[wxWidgets.git] / include / wx / xrc / xh_notbk.h
index bd066d32d513ca9d42885f68b99080b138ea1d6d..14e909568b24fff6a0f2e5be57ae8ebbec44c186 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _WX_XH_NOTBK_H_
 #define _WX_XH_NOTBK_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_notbk.h"
 #endif
 
@@ -22,6 +22,7 @@ class WXDLLEXPORT wxNotebook;
 
 class WXXMLDLLEXPORT wxNotebookXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxNotebookXmlHandler)
 public:
     wxNotebookXmlHandler();
     virtual wxObject *DoCreateResource();