diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-11-09 21:50:14 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-11-09 21:50:14 +0000 |
commit | 5f1b6fb2bc85ecbcc698aeee6f109e8f4e8ffb7f (patch) | |
tree | bf74b1cb820eca247217f471a581b71377887647 /x11-toolkits | |
parent | 63cd40825e4e6c5ce0b6168291407fea9cbe9a14 (diff) | |
download | FreeBSD-ports-5f1b6fb2bc85ecbcc698aeee6f109e8f4e8ffb7f.zip FreeBSD-ports-5f1b6fb2bc85ecbcc698aeee6f109e8f4e8ffb7f.tar.gz |
Fix notebook labels for GTK2 flavor.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/wxgtk/files/patch-src-gtk-notebook.cpp | 11 | ||||
-rw-r--r-- | x11-toolkits/wxgtk2/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/wxgtk24/files/patch-src-gtk-notebook.cpp | 11 |
3 files changed, 23 insertions, 1 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 0000000..1aae1c5 --- /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 */ diff --git a/x11-toolkits/wxgtk2/Makefile b/x11-toolkits/wxgtk2/Makefile index 0228b52..5382726 100644 --- a/x11-toolkits/wxgtk2/Makefile +++ b/x11-toolkits/wxgtk2/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTREVISION= 0 +PORTREVISION= 1 MAINTAINER= fjoe@FreeBSD.org COMMENT= The wxWindows GUI toolkit (GTK2 version) diff --git a/x11-toolkits/wxgtk24/files/patch-src-gtk-notebook.cpp b/x11-toolkits/wxgtk24/files/patch-src-gtk-notebook.cpp new file mode 100644 index 0000000..1aae1c5 --- /dev/null +++ b/x11-toolkits/wxgtk24/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 */ |