+
+#ifdef __WXGTK__
+
+ // As X doesn't have a standard size for icons, we resize here.
+ // Otherwise we'd simply have to forbid different bitmap sizes.
+
+ if ((m_width != bm->GetWidth()) ||
+ (m_height != bm->GetHeight()))
+ {
+ bm->Resize( m_width, m_height );
+ }
+
+#endif
+