Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 5c1bb36e489c0b5fc7a73c956cabd2d7 > files > 6

wxGTK-2.4.2-13mdv2007.1.src.rpm

--- src/gtk/notebook.cpp	2003-03-24 16:00:48.000000000 +0100
+++ src/gtk/notebook.cpp.new	2003-03-24 16:00:26.000000000 +0100
@@ -640,7 +640,8 @@
     }
 
     /* set the label text */
-    nb_page->m_text = text;
+    gsize bytes_written;
+    nb_page->m_text = g_locale_to_utf8(text,-1,NULL,&bytes_written,NULL);
     if (nb_page->m_text.IsEmpty()) nb_page->m_text = wxT("");
   
     nb_page->m_label = GTK_LABEL( gtk_label_new(nb_page->m_text.mbc_str()) );