+ wxCHECK_RET( m_widget != NULL, wxT("invalid notebook") );
+
+ m_padding = padding.GetWidth();
+
+ for (size_t i = GetPageCount(); i--;)
+ {
+ wxGtkNotebookPage* pageData = GetNotebookPage(i);
+ if (pageData->m_image)
+ {
+ gtk_box_set_child_packing(GTK_BOX(pageData->m_box),
+ pageData->m_image, false, false, m_padding, GTK_PACK_START);
+ }
+ gtk_box_set_child_packing(GTK_BOX(pageData->m_box),
+ pageData->m_label, false, false, m_padding, GTK_PACK_END);
+ }