X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28f92d74ee73176fc391fb8c3de75c76dd086319..cf283a470ab3eb4bc69959e3b5ae0edf30337fa5:/src/os2/dataobj.cpp?ds=inline diff --git a/src/os2/dataobj.cpp b/src/os2/dataobj.cpp index 8ec854054c..81939cf429 100644 --- a/src/os2/dataobj.cpp +++ b/src/os2/dataobj.cpp @@ -57,11 +57,11 @@ wxString wxDataFormat::GetId() const } // end of wxDataFormat::GetId() void wxDataFormat::SetId ( - const wxChar* zId + const wxString& zId ) { m_uFormat = ::WinAddAtom( ::WinQuerySystemAtomTable() - ,(PSZ)zId + ,zId.char_str() ); } // end of wxDataFormat::SetId