]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/object.h
split wxBase into wxBase and wxNet libraries
[wxWidgets.git] / include / wx / object.h
index bfecd72a2ab0855e101ef32b531b0b5c3e826d58..1a2a2c8038de3915f03c6d27e71196ff3858124d 100644 (file)
@@ -146,8 +146,7 @@ WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxChar *name);
    { return &name::sm_class##name; }
 
 #define DECLARE_DYNAMIC_CLASS_NO_ASSIGN(name)   \
-    private:                                    \
-        name& operator=(const name&);           \
+    DECLARE_NO_ASSIGN_CLASS(name)               \
     DECLARE_DYNAMIC_CLASS(name)
 
 #define DECLARE_DYNAMIC_CLASS_NO_COPY(name)   \