Small patch for notenbook encoding.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@26117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -643,7 +643,7 @@ bool wxNotebook::InsertPage( int position,
|
||||
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 */
|
||||
|
@@ -643,7 +643,7 @@ bool wxNotebook::InsertPage( int position,
|
||||
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 */
|
||||
|
Reference in New Issue
Block a user