From: Vadim Zeitlin Date: Sat, 2 Aug 2008 13:10:33 +0000 (+0000) Subject: VC6 compilation warning fix for non-defined template class copy ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/707d9f404764f83f1e0f5101fc4855b65b74d7e7?ds=inline VC6 compilation warning fix for non-defined template class copy ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index 1aca7a9a66..6f36cc93f9 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -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