don't mess with the fonts if not asked to

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-06-27 22:17:14 +00:00
parent 53fbce27ba
commit 04ff27d504
2 changed files with 0 additions and 6 deletions

View File

@@ -334,8 +334,6 @@ bool wxNotebook::Create(wxWindow *parent, wxWindowID id,
PostCreation(size);
SetFont( parent->GetFont() );
gtk_signal_connect( GTK_OBJECT(m_widget), "realize",
GTK_SIGNAL_FUNC(gtk_notebook_realized_callback), (gpointer) this );
@@ -685,7 +683,6 @@ bool wxNotebook::InsertPage( size_t position,
if (nb_page->m_text.IsEmpty()) nb_page->m_text = wxT("");
nb_page->m_label = GTK_LABEL( gtk_label_new(wxGTK_CONV(nb_page->m_text)) );
nb_page->SetFont(GetFont());
gtk_box_pack_end( GTK_BOX(nb_page->m_box), GTK_WIDGET(nb_page->m_label), FALSE, FALSE, m_padding );
/* show the label */