Unicode fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-22 22:19:28 +00:00
parent 107dcfab63
commit b5be07d450
4 changed files with 8 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ wxDataFormat::wxDataFormat( wxDataType type )
SetType( type );
}
wxDataFormat::wxDataFormat( const char *id )
wxDataFormat::wxDataFormat( const wxChar *id )
{
if (!g_textAtom) g_textAtom = gdk_atom_intern( "STRING", FALSE );
SetId( id );
@@ -127,7 +127,7 @@ wxString wxDataFormat::GetId() const
return m_id;
}
void wxDataFormat::SetId( const char *id )
void wxDataFormat::SetId( const wxChar *id )
{
m_type = wxDF_PRIVATE;
m_id = id;
@@ -427,7 +427,7 @@ IMPLEMENT_DYNAMIC_CLASS( wxPrivateDataObject, wxDataObject )
wxPrivateDataObject::wxPrivateDataObject()
{
m_id = "application/";
m_id = _T("application/");
m_id += wxTheApp->GetAppName();
m_format.SetId( m_id );