From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 9 Feb 2009 13:12:53 +0000 (+0000)
Subject: compilation fix for wxUSE_STL build after latest changes
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70ef48fee362bd9d62a530e3d77b7c6574bdf5b7

compilation fix for wxUSE_STL build after latest changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/gtk/taskbar.cpp b/src/gtk/taskbar.cpp
index 03bee569c7..87af558886 100644
--- a/src/gtk/taskbar.cpp
+++ b/src/gtk/taskbar.cpp
@@ -197,9 +197,9 @@ void wxTaskBarIcon::Private::SetIcon()
         }
     }
 #if wxUSE_TOOLTIPS
-    const char* tip_text = NULL;
+    const char *tip_text = NULL;
     if (!m_tipText.empty())
-        tip_text = m_tipText;
+        tip_text = m_tipText.c_str();
 
 #if GTK_CHECK_VERSION(2,10,0)
     if (m_statusIcon)