]> git.saurik.com Git - wxWidgets.git/commitdiff
VC6 gets confused by the protected copy ctor; make it private
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 11 Jan 2009 10:34:55 +0000 (10:34 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 11 Jan 2009 10:34:55 +0000 (10:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/valtext.h

index 7071585f4fe8ad96ea4f392fb8d33499a1fdf7a9..509ce6d396d212537de89a76e51d9316530cb911 100644 (file)
@@ -89,14 +89,15 @@ protected:
     wxArrayString        m_excludes;
 
 private:
-    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&);
+
+    DECLARE_DYNAMIC_CLASS(wxTextValidator)
+    DECLARE_EVENT_TABLE()
 };
 
 #endif