From: Francesco Montorsi Date: Mon, 12 Jan 2009 20:01:14 +0000 (+0000) Subject: use DECLARE_NO_ASSIGN_CLASS() for better readability X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a2580e1c491f912bcf86ead99859d69ab525ce2e use DECLARE_NO_ASSIGN_CLASS() for better readability git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/valtext.h b/include/wx/valtext.h index 509ce6d396..8aa0ea295c 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -89,13 +89,7 @@ protected: wxArrayString m_excludes; private: -// Cannot use -// DECLARE_NO_COPY_CLASS(wxTextValidator) -// because copy constructor is explicitly declared above; -// but no copy assignment operator is defined, so declare -// it private to prevent the compiler from defining it: - wxTextValidator& operator=(const wxTextValidator&); - + DECLARE_NO_ASSIGN_CLASS(wxTextValidator) DECLARE_DYNAMIC_CLASS(wxTextValidator) DECLARE_EVENT_TABLE() };