]> git.saurik.com Git - wxWidgets.git/commitdiff
suppress warning about not being able to generate copy ctor/operator=()
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jul 2003 23:16:57 +0000 (23:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jul 2003 23:16:57 +0000 (23:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/list.h

index 57351e946990eae0c0a57eee6d7237c434d4062e..9d64eafea3fb3cb403c6dfc65bf3c9aa9b095e53 100644 (file)
@@ -586,6 +586,8 @@ private:
             { wxNodeBase::SetData(data); }                                  \
                                                                             \
         virtual void DeleteData();                                          \
             { wxNodeBase::SetData(data); }                                  \
                                                                             \
         virtual void DeleteData();                                          \
+                                                                            \
+        DECLARE_NO_COPY_CLASS(nodetype)                                     \
     };                                                                      \
                                                                             \
     classexp name : public wxListBase                                       \
     };                                                                      \
                                                                             \
     classexp name : public wxListBase                                       \