]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_scrol.h
Reverted patch [ 746201 ] (partially) because of unwanted side-effects
[wxWidgets.git] / include / wx / xrc / xh_scrol.h
index d5a1f43788e1b9afe97bbb655ff341d82cac1f79..a13e56ad0b5658d0b56a264fb8bc17a50c8ded6e 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_SCROL_H_
 #define _WX_XH_SCROL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_scrol.h"
 #endif
 
@@ -22,6 +22,7 @@
 
 class WXXMLDLLEXPORT wxScrollBarXmlHandler : public wxXmlResourceHandler
 {
+       DECLARE_DYNAMIC_CLASS(wxScrollBarXmlHandler)
     enum
     {
         wxSL_DEFAULT_VALUE = 0,