X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..7c4728f63395c3641aa62f2b549ee693eb8be978:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index bfecd72a2a..1a2a2c8038 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -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) \