]> git.saurik.com Git - wxWidgets.git/commitdiff
VC6 compilation warning fix for non-defined template class copy ctor
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 2 Aug 2008 13:10:33 +0000 (13:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 2 Aug 2008 13:10:33 +0000 (13:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/scrolwin.h

index 1aca7a9a661f26e92768c0d0d0772c10075229ec..6f36cc93f9deda64b2b3bb34078ff458bfbb6759 100644 (file)
@@ -348,7 +348,11 @@ private:
         event.Skip();
     }
 
+    // VC++ 6 gives warning for the declaration of template member function
+    // without definition
+#if !defined(__VISUALC__) || wxCHECK_VISUALC_VERSION(7)
     DECLARE_NO_COPY_CLASS(wxScrolled)
+#endif
 };
 
 // VC++ <= 6 requires this; it's unlikely any other specializations would