]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
add DECLARE_NO_COPY_TEMPLATE_CLASS
[wxWidgets.git] / include / wx / defs.h
index 7c89f53ef76afd4a7192933ae1373f69d945321e..56c4929537e408295a2b277126122b4d8e6e7fe1 100644 (file)
@@ -3203,6 +3203,11 @@ typedef const void* WXWidget;
         classname(const classname&);            \
         classname& operator=(const classname&);
 
+#define DECLARE_NO_COPY_TEMPLATE_CLASS(classname, arg)  \
+    private:                                            \
+        classname(const classname<arg>&);               \
+        classname& operator=(const classname<arg>&);
+
 #define DECLARE_NO_ASSIGN_CLASS(classname)      \
     private:                                    \
         classname& operator=(const classname&);