m_type = wxDF_PRIVATE;
m_id = gdk_atom_name( m_atom );
- if (m_id == _T("file:ALL"))
+ if (m_id == T("file:ALL"))
{
m_type = wxDF_FILENAME;
}
if (m_type == wxDF_TEXT)
{
- m_id = _T("STRING");
+ m_id = T("STRING");
}
else
if (m_type == wxDF_BITMAP)
{
- m_id = _T("image/png");
+ m_id = T("image/png");
}
else
if (m_type == wxDF_FILENAME)
{
- m_id = _T("file:ALL");
+ m_id = T("file:ALL");
}
else
{
- wxFAIL_MSG( _T("invalid dataformat") );
+ wxFAIL_MSG( T("invalid dataformat") );
}
m_hasAtom = FALSE;
else
if (m_type == wxDF_PRIVATE)
{
- m_atom = gdk_atom_intern( MBSTRINGCAST m_id.mbc_str(), FALSE );
+ m_atom = gdk_atom_intern( wxMBSTRINGCAST m_id.mbc_str(), FALSE );
}
else
if (m_type == wxDF_FILENAME)
return m_pngSize;
}
-void wxBitmapDataObject::WriteBitmap( const wxBitmap &bitmap, void *dest ) const
+void wxBitmapDataObject::WriteBitmap( const wxBitmap &WXUNUSED(bitmap), void *dest ) const
{
// if (m_bitmap == bitmap)
memcpy( dest, m_pngData, m_pngSize );
wxPrivateDataObject::wxPrivateDataObject()
{
- wxString id = _T("application/");
+ wxString id = T("application/");
id += wxTheApp->GetAppName();
m_format.SetId( id );