projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98d6e4b
)
Strip menu codes out from notebook page labels
author
Julian Smart
<julian@anthemion.co.uk>
Sun, 8 Oct 2006 16:00:43 +0000
(16:00 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Sun, 8 Oct 2006 16:00:43 +0000
(16:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41733
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/notebook.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/notebook.cpp
b/src/gtk/notebook.cpp
index 948917069c1fb453b3ef689951de3ed65ca77033..9c4b4a3932ff9a185f19c4c85cfc05f849c2eed1 100644
(file)
--- a/
src/gtk/notebook.cpp
+++ b/
src/gtk/notebook.cpp
@@
-692,7
+692,7
@@
bool wxNotebook::InsertPage( size_t position,
/* set the label text */
- nb_page->m_text =
text
;
+ nb_page->m_text =
wxStripMenuCodes(text)
;
if (nb_page->m_text.empty()) nb_page->m_text = wxEmptyString;
nb_page->m_label = GTK_LABEL( gtk_label_new(wxGTK_CONV(nb_page->m_text)) );