]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dataform.h
fixed typo in wxString::swap() which was completely broken
[wxWidgets.git] / include / wx / gtk / dataform.h
index 6bde38106b3d16f8cc8c5c0ad0bbbf489ced7679..00b2c9f0c0a1ef400d83ed9fad2d71baaaab4eb4 100644 (file)
@@ -24,6 +24,8 @@ public:
     wxDataFormat( const wxChar *id );
     wxDataFormat( NativeFormat format );
 
     wxDataFormat( const wxChar *id );
     wxDataFormat( NativeFormat format );
 
+    wxDataFormat& operator=(const wxDataFormat& format)
+        { m_type = format.m_type; m_format = format.m_format; return *this; }
     wxDataFormat& operator=(NativeFormat format)
         { SetId(format); return *this; }
 
     wxDataFormat& operator=(NativeFormat format)
         { SetId(format); return *this; }