]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_slidr.h
Removed previous broken fix for deferred positioning bug, and added
[wxWidgets.git] / include / wx / xrc / xh_slidr.h
index 32fb738b7b5634435975d90d26f4fd0911299f54..04e9940b07ff00f360b61155e67ac80864db95fd 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_SLIDR_H_
 #define _WX_XH_SLIDR_H_
 
-#ifdef __GNUG__
+#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,