]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_sizer.h
include init.h as wxEntry is supposed to be declared here
[wxWidgets.git] / include / wx / xrc / xh_sizer.h
index fb5cd23670007db2b64ac638796d4a68aebd43c6..eb5e05c0485066e470381e1956579bb44d9fefb6 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_SIZER_H_
 #define _WX_XH_SIZER_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_sizer.h"
 #endif
 
@@ -22,6 +22,7 @@ class WXDLLEXPORT wxSizer;
 
 class WXXMLDLLEXPORT wxSizerXmlHandler : public wxXmlResourceHandler
 {
+DECLARE_DYNAMIC_CLASS(wxSizerXmlHandler)
 public:
     wxSizerXmlHandler();
     virtual wxObject *DoCreateResource();