#include "wx/statbmp.h"
+#if wxUSE_STATBMP
+
#include "gdk/gdk.h"
#include "gtk/gtk.h"
gtk_pixmap_set( GTK_PIXMAP(m_widget), m_bitmap.GetPixmap(), mask );
}
}
+
+wxIcon& wxStaticBitmap::GetIcon()
+{
+ wxIcon *icon = wxDynamicCast(&m_bitmap, wxIcon);
+
+ if (!icon) return wxNullIcon;
+
+ return *icon;
+}
+
+#endif