replaced T() makro with wxT() due to namespace probs, _T() exists, too
fixed compilation problems, mainly in html code compiles and links fine on Solaris, runs with samples and Mahogany git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user