X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40ae960071c5d74e167c7fd596122ed7d9e766b9..b466e85a7e81db84545bc44c83cbe4ccacd4fe8e:/include/wx/valtext.h diff --git a/include/wx/valtext.h b/include/wx/valtext.h index 7071585f4f..8aa0ea295c 100644 --- a/include/wx/valtext.h +++ b/include/wx/valtext.h @@ -89,14 +89,9 @@ protected: wxArrayString m_excludes; private: + DECLARE_NO_ASSIGN_CLASS(wxTextValidator) DECLARE_DYNAMIC_CLASS(wxTextValidator) DECLARE_EVENT_TABLE() -// 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&); }; #endif