SetType( type );
}
-wxDataFormat::wxDataFormat( const char *id )
+wxDataFormat::wxDataFormat( const wxChar *id )
{
if (!g_textAtom) g_textAtom = gdk_atom_intern( "STRING", FALSE );
SetId( id );
return m_id;
}
-void wxDataFormat::SetId( const char *id )
+void wxDataFormat::SetId( const wxChar *id )
{
m_type = wxDF_PRIVATE;
m_id = id;
wxPrivateDataObject::wxPrivateDataObject()
{
- m_id = "application/";
+ m_id = _T("application/");
m_id += wxTheApp->GetAppName();
m_format.SetId( m_id );
}
#if wxUSE_TOOLTIPS
-void wxListBox::ApplyToolTip( GtkTooltips *tips, const char *tip )
+void wxListBox::ApplyToolTip( GtkTooltips *tips, const wxChar *tip )
{
GList *child = m_list->children;
while (child)
SetType( type );
}
-wxDataFormat::wxDataFormat( const char *id )
+wxDataFormat::wxDataFormat( const wxChar *id )
{
if (!g_textAtom) g_textAtom = gdk_atom_intern( "STRING", FALSE );
SetId( id );
return m_id;
}
-void wxDataFormat::SetId( const char *id )
+void wxDataFormat::SetId( const wxChar *id )
{
m_type = wxDF_PRIVATE;
m_id = id;
wxPrivateDataObject::wxPrivateDataObject()
{
- m_id = "application/";
+ m_id = _T("application/");
m_id += wxTheApp->GetAppName();
m_format.SetId( m_id );
}
#if wxUSE_TOOLTIPS
-void wxListBox::ApplyToolTip( GtkTooltips *tips, const char *tip )
+void wxListBox::ApplyToolTip( GtkTooltips *tips, const wxChar *tip )
{
GList *child = m_list->children;
while (child)