X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4a2ab728bf4627ab2b41385b69e31f10c1fd3b1..223d09f6b523aac674ef9b72a883dfa8d37c5d4e:/src/gtk1/dataobj.cpp diff --git a/src/gtk1/dataobj.cpp b/src/gtk1/dataobj.cpp index 8b217e7bc4..d1668eb212 100644 --- a/src/gtk1/dataobj.cpp +++ b/src/gtk1/dataobj.cpp @@ -87,7 +87,7 @@ wxDataFormat::wxDataFormat( const GdkAtom atom ) m_type = wxDF_PRIVATE; m_id = gdk_atom_name( m_atom ); - if (m_id == T("file:ALL")) + if (m_id == wxT("file:ALL")) { m_type = wxDF_FILENAME; } @@ -100,21 +100,21 @@ void wxDataFormat::SetType( wxDataFormatId type ) if (m_type == wxDF_TEXT) { - m_id = T("STRING"); + m_id = wxT("STRING"); } else if (m_type == wxDF_BITMAP) { - m_id = T("image/png"); + m_id = wxT("image/png"); } else if (m_type == wxDF_FILENAME) { - m_id = T("file:ALL"); + m_id = wxT("file:ALL"); } else { - wxFAIL_MSG( T("invalid dataformat") ); + wxFAIL_MSG( wxT("invalid dataformat") ); } m_hasAtom = FALSE; @@ -484,7 +484,7 @@ void wxPrivateDataObject::Free() wxPrivateDataObject::wxPrivateDataObject() { - wxString id = T("application/"); + wxString id = wxT("application/"); id += wxTheApp->GetAppName(); m_format.SetId( id );