]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_spin.h
moved SetBestSize() to .cpp file; set min size from it
[wxWidgets.git] / include / wx / xrc / xh_spin.h
index 9d44a0ffe9ad36f6741fc8feb0bd1569ca17fe5c..ab9590a68b507c69a5c53cd61c4a9d405dc1b9f0 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_XH_SPIN_H_
 #define _WX_XH_SPIN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_spin.h"
 #endif
 
@@ -19,8 +19,9 @@
 #include "wx/defs.h"
 
 #if wxUSE_SPINBTN
-class WXXMLDLLEXPORT wxSpinButtonXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler
 {
+       DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
     enum
     {
         wxSP_DEFAULT_VALUE = 0,
@@ -36,8 +37,9 @@ public:
 #endif
 
 #if wxUSE_SPINCTRL
-class WXXMLDLLEXPORT wxSpinCtrlXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler
 {
+       DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
     enum
     {
         wxSP_DEFAULT_VALUE = 0,