]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_slidr.h
Fixes so joystick not only compiles on Linux, but it actually works too!
[wxWidgets.git] / include / wx / xrc / xh_slidr.h
index 32fb738b7b5634435975d90d26f4fd0911299f54..8e425b42949112a87cdb0d89440b423c3bc87070 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,