X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2a6c918e88aaa5373876be033568ba41497c968..7113846bc8f65b269822027d30bb08e1b28bac6c:/include/wx/scrolwin.h diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index 570922a169..6f36cc93f9 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -306,7 +306,7 @@ public: m_targetWindow = this; #ifdef __WXMAC__ - MacSetClipChildren(true); + this->MacSetClipChildren(true); #endif this->Connect(wxEVT_PAINT, wxPaintEventHandler(wxScrolled::OnPaint)); @@ -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