-#ifdef __WXGTK20__
- if (bitmap.HasPixbuf())
- gtk_image_set_from_pixbuf(GTK_IMAGE(m_pixmap),
- bitmap.GetPixbuf());
- else
- gtk_image_set_from_pixmap(GTK_IMAGE(m_pixmap),
- bitmap.GetPixmap(), mask);
-#else
- gtk_pixmap_set(GTK_PIXMAP(m_pixmap), bitmap.GetPixmap(), mask);
-#endif // !__WXGTK20__