]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
routing native events first to the wx class and only if skipped call native handler
[wxWidgets.git] / include / wx / valtext.h
index 7071585f4fe8ad96ea4f392fb8d33499a1fdf7a9..8aa0ea295c24e8570b800400fd8334d32aecf1e8 100644 (file)
@@ -89,14 +89,9 @@ protected:
     wxArrayString        m_excludes;
 
 private:
     wxArrayString        m_excludes;
 
 private:
+    DECLARE_NO_ASSIGN_CLASS(wxTextValidator)
     DECLARE_DYNAMIC_CLASS(wxTextValidator)
     DECLARE_EVENT_TABLE()
     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
 };
 
 #endif