]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
Removed erroneous copyright names and corrected licence spelling
[wxWidgets.git] / include / wx / valtext.h
index c879505abc9e0c2855ff803186d960cba269cf25..42b08aa0bfd05a18c745461db2ff85031649970f 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     29/01/98
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Julian Smart
-// Licence:    wxWindows license
+// Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_VALTEXTH__
 #define _WX_VALTEXTH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "valtext.h"
 #endif
 
@@ -95,6 +95,14 @@ protected:
 
         return TRUE;
     }
+
+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&);
 };
 
 #endif