-void wxStaticBitmap::CreatePixmapWidget()
-{
- wxCHECK_RET( m_bitmap.Ok(), wxT("should only be called if we have a bitmap") );
-
- GdkBitmap *mask = (GdkBitmap *) NULL;
- if ( m_bitmap.GetMask() )
- mask = m_bitmap.GetMask()->GetBitmap();
- m_widget = gtk_pixmap_new( m_bitmap.GetPixmap(), mask );
-
- // insert GTK representation
- (*m_parent->m_insertCallback)(m_parent, this);
-
- gtk_widget_show( m_widget );
-
- m_focusWidget = m_widget;
-
- PostCreation(wxDefaultSize);
-}
+#ifndef __WXGTK20__
+// empty bitmap, so that we can create GtkPixmap widget:
+static char * bogus_xpm[] = {
+"2 2 1 1",
+" c None",
+" ",
+" "};
+#endif