Index: /trunk/Mars/mbase/MGList.cc
===================================================================
--- /trunk/Mars/mbase/MGList.cc	(revision 19239)
+++ /trunk/Mars/mbase/MGList.cc	(revision 19240)
@@ -39,4 +39,5 @@
 #include <TROOT.h>
 #include <TClass.h>
+#include <TImage.h>
 #include <TGClient.h>
 #include <TGWidget.h>
@@ -287,4 +288,24 @@
     return pic;
 }
+
+const TGPicture *MGList::GetPicture(const char *name, const char *xpm[])
+{
+    struct MGPicture : public TGPicture
+    {
+        MGPicture (const char *_n, Pixmap_t _p, Pixmap_t _m) : TGPicture(_n, _p, _m) { }
+    };
+
+    // Add Mars logo picture
+    TImage *img = TImage::Open(const_cast<char **>(xpm));
+    if (!img)
+        return 0;
+
+    TGPicture *pic = new MGPicture(name, img->GetPixmap(), img->GetMask());
+    delete img;
+    AddPicture(pic, name);
+
+    return pic;
+}
+
 // --------------------------------------------------------------------------
 //
Index: /trunk/Mars/mbase/MGList.h
===================================================================
--- /trunk/Mars/mbase/MGList.h	(revision 19239)
+++ /trunk/Mars/mbase/MGList.h	(revision 19240)
@@ -29,4 +29,5 @@
     const TGPicture *GetPicture(const char *name);
     const TGPicture *GetPicture(const char *name, Int_t width, Int_t height);
+    const TGPicture *GetPicture(const char *name, const char *xpm[]);
 
     TObject *FindWidget(Int_t id) const;
Index: /trunk/Mars/mbase/MStatusDisplay.cc
===================================================================
--- /trunk/Mars/mbase/MStatusDisplay.cc	(revision 19239)
+++ /trunk/Mars/mbase/MStatusDisplay.cc	(revision 19240)
@@ -467,15 +467,21 @@
     f->AddFrame(l, lay);
 
-    // Add Mars logo picture
-    const TGPicture *pic2 = fList->GetPicture("marslogo.xpm");
-    if (pic2)
-    {
-        TGPictureButton *mars  = new TGPictureButton(f, pic2, kPicMars);
-        fList->Add(mars);
-        mars->Associate(this);
-
-        TGLayoutHints *lay2 = new TGLayoutHints(kLHintsCenterX|kLHintsCenterY, 10, 10, 5, 5);
-        fList->Add(lay2);
-        f->AddFrame(mars, lay2);
+    {
+#define static static const
+#include "marslogo.xpm"
+#undef static
+
+        // Add Mars logo picture
+        const TGPicture *pic2 = fList->GetPicture("marslogo", marslogo);
+        if (pic2)
+        {
+            TGPictureButton *mars  = new TGPictureButton(f, pic2, kPicMars);
+            fList->Add(mars);
+            mars->Associate(this);
+
+            TGLayoutHints *lay2 = new TGLayoutHints(kLHintsCenterX|kLHintsCenterY, 10, 10, 5, 5);
+            fList->Add(lay2);
+            f->AddFrame(mars, lay2);
+        }
     }
 
