X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9726da4fd35db27e7210488ff431cb7a63f2f1ee..6bddd8c5f3cf709fc95747a4fe211690456e157d:/src/gtk1/dataobj.cpp diff --git a/src/gtk1/dataobj.cpp b/src/gtk1/dataobj.cpp index 41d6b4faa5..bb9e817c05 100644 --- a/src/gtk1/dataobj.cpp +++ b/src/gtk1/dataobj.cpp @@ -62,7 +62,7 @@ wxDataFormat::wxDataFormat( const wxDataFormat &format ) m_type = format.GetType(); m_id = format.GetId(); m_hasAtom = TRUE; - m_atom = format.GetAtom(); + m_atom = ((wxDataFormat &)format).GetAtom(); // const_cast } wxDataFormat::wxDataFormat( const GdkAtom atom )