aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wxgtk
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-11-09 21:50:14 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-11-09 21:50:14 +0000
commit1222e1d795ceed1fbbc195434617c79af24ecf59 (patch)
treef4cb4c12946005ee0a140e7ddb3623fa32738543 /x11-toolkits/wxgtk
parent62073a0e348d56b3b236ba91ce8e330abed61c7c (diff)
downloadports-1222e1d795ceed1fbbc195434617c79af24ecf59.tar.gz
ports-1222e1d795ceed1fbbc195434617c79af24ecf59.zip
Notes
Diffstat (limited to 'x11-toolkits/wxgtk')
-rw-r--r--x11-toolkits/wxgtk/files/patch-src-gtk-notebook.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk/files/patch-src-gtk-notebook.cpp b/x11-toolkits/wxgtk/files/patch-src-gtk-notebook.cpp
new file mode 100644
index 000000000000..1aae1c52f5fa
--- /dev/null
+++ b/x11-toolkits/wxgtk/files/patch-src-gtk-notebook.cpp
@@ -0,0 +1,11 @@
+--- src/gtk/notebook.cpp.orig Sun Sep 21 18:31:57 2003
++++ src/gtk/notebook.cpp Mon Nov 10 03:26:16 2003
+@@ -643,7 +643,7 @@
+ nb_page->m_text = text;
+ 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()) );
++ nb_page->m_label = GTK_LABEL( gtk_label_new(wxGTK_CONV(nb_page->m_text)) );
+ gtk_box_pack_end( GTK_BOX(nb_page->m_box), GTK_WIDGET(nb_page->m_label), FALSE, FALSE, m_padding );
+
+ /* show the label */