]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_slidr.h
clear m_aTypes array in Clear() as well (patch 1165866)
[wxWidgets.git] / include / wx / xrc / xh_slidr.h
index 6e3223f959efa7b7f1084cd9662a9e1f35c6c9ff..04e9940b07ff00f360b61155e67ac80864db95fd 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_SLIDR_H_
 #define _WX_XH_SLIDR_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #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,