X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28f92d74ee73176fc391fb8c3de75c76dd086319..df97a4ef79613ac2f73a62601a9fa738d79c77a4:/src/os2/dataobj.cpp 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