]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/spinbutt.h
implement HitTest(pos) variant and not HitTest(x, y) one as this is what Windows...
[wxWidgets.git] / include / wx / msw / spinbutt.h
index efccd153a3b89ee62147ddebe40cd90158665ca1..6e1931bfa36b4ed5f55ac5561ba31d75277934b7 100644 (file)
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "spinbutt.h"
 #endif
 
 #include "wx/control.h"
 #include "wx/event.h"
 
     #pragma interface "spinbutt.h"
 #endif
 
 #include "wx/control.h"
 #include "wx/event.h"
 
-#if defined(__WIN95__)
-
 class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
 {
 public:
 class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
 {
 public:
@@ -65,10 +63,8 @@ protected:
    virtual wxSize DoGetBestSize() const;
 
 private:
    virtual wxSize DoGetBestSize() const;
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxSpinButton)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxSpinButton)
 };
 
 };
 
-#endif
-    // __WIN95__
 #endif
     // _WX_SPINBUTT_H_
 #endif
     // _WX_SPINBUTT_H_