]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/spinbutt.h
use wxUnusedVar() to suppress warnings about unused variable
[wxWidgets.git] / include / wx / msw / spinbutt.h
index 295ea3867daee2e43af908e926936491dc3d2a9d..6e1931bfa36b4ed5f55ac5561ba31d75277934b7 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_SPINBUTT_H_
 #define _WX_SPINBUTT_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "spinbutt.h"
 #endif
 
@@ -63,7 +63,7 @@ protected:
    virtual wxSize DoGetBestSize() const;
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxSpinButton)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxSpinButton)
 };
 
 #endif