X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/755369be7af309ae2be449dbfd8e76508784fd8d..9b53796d59776a9510f70379e0d476c29c366489:/include/wx/valtext.h 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() };