-
- /* Only cases 3) and 4) left */
- wxASSERT( m_imageList != NULL ); /* Just in case */
-
- /* Construct the new pixmap */
- const wxBitmap *bmp = m_imageList->GetBitmapPtr(image);
-
- if (pixmapwid == NULL)
- {
- /* Case 3) No old pixmap. Create a new one and prepend it to the hbox */
- pixmapwid = gtk_image_new_from_pixbuf(bmp->GetPixbuf());
-
- /* CHECKME: Are these pack flags okay? */
- gtk_box_pack_start(GTK_BOX(nb_page->m_box), pixmapwid, FALSE, FALSE, m_padding);
- gtk_widget_show(pixmapwid);
- }
- else