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