]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
another fix for wxUSE_DRAG_AND_DROP==0 build
[wxWidgets.git] / include / wx / valtext.h
index 509ce6d396d212537de89a76e51d9316530cb911..8aa0ea295c24e8570b800400fd8334d32aecf1e8 100644 (file)
@@ -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()
 };