]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dataobj.cpp
fix for link errors in DLL build
[wxWidgets.git] / src / os2 / dataobj.cpp
index 8ec854054c90e88e986a306b514655c61af2ba70..81939cf4295c9588cd961e24333e0d2408c258b2 100644 (file)
@@ -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