]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_slidr.h
OS X savvy implementation
[wxWidgets.git] / include / wx / xrc / xh_slidr.h
index 32fb738b7b5634435975d90d26f4fd0911299f54..2eeb587eaf5bf7f654ae56aa8b2f846a76f05021 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_SLIDR_H_
 #define _WX_XH_SLIDR_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_slidr.h"
 #endif
 
@@ -20,8 +20,9 @@
 
 #if wxUSE_SLIDER
 
-class WXXMLDLLEXPORT wxSliderXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxSliderXmlHandler : public wxXmlResourceHandler
 {
+    DECLARE_DYNAMIC_CLASS(wxSliderXmlHandler)
     enum
     {
         wxSL_DEFAULT_VALUE = 0,