X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b81515cb19f17208db39eb959b646f185de61a4..9ba371fa05c50f65e887ca894518f293b4f88c25:/src/gtk/taskbar.cpp diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp index e45534a5d2..c15672f284 100644 --- a/src/gtk/taskbar.cpp +++ b/src/gtk/taskbar.cpp @@ -207,7 +207,7 @@ void wxTaskBarIcon::Private::SetIcon() #if wxUSE_TOOLTIPS const char *tip_text = NULL; if (!m_tipText.empty()) - tip_text = m_tipText.c_str(); + tip_text = m_tipText.utf8_str(); #if GTK_CHECK_VERSION(2,10,0) if (m_statusIcon) @@ -266,7 +266,7 @@ void wxTaskBarIcon::Private::size_allocate(int width, int height) IMPLEMENT_DYNAMIC_CLASS(wxTaskBarIcon, wxEvtHandler) -wxTaskBarIcon::wxTaskBarIcon() +wxTaskBarIcon::wxTaskBarIcon(wxTaskBarIconType WXUNUSED(iconType)) { m_priv = new Private(this); }