From 9489e62f88b25f589edc93e41dbdcb721a4aa757 Mon Sep 17 00:00:00 2001
From: Robin Dunn <robin@alldunn.com>
Date: Mon, 23 Oct 2006 19:20:52 +0000
Subject: [PATCH] Use wxGTK_CONV to fix compile error when building in Unicode
 mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/gtk/collpane.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gtk/collpane.cpp b/src/gtk/collpane.cpp
index edd737d066..cd744aa00c 100644
--- a/src/gtk/collpane.cpp
+++ b/src/gtk/collpane.cpp
@@ -206,7 +206,7 @@ bool wxCollapsiblePane::IsCollapsed() const
 void wxCollapsiblePane::SetLabel(const wxString &str)
 {
     if (!gtk_check_version(2,4,0))
-        gtk_expander_set_label(GTK_EXPANDER(m_widget), str.c_str());
+        gtk_expander_set_label(GTK_EXPANDER(m_widget), wxGTK_CONV(str));
     else
         wxGenericCollapsiblePane::SetLabel(str);
 }
-- 
2.47.2