Index: /trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc	(revision 8925)
+++ /trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc	(revision 8926)
@@ -18,5 +18,5 @@
 !   Author(s): Thomas Bretz, 4/2003 <mailto:tbretz@astro.uni-wuerzburg.de>
 !
-!   Copyright: MAGIC Software Development, 2003-2007
+!   Copyright: MAGIC Software Development, 2003-2008
 !
 !
@@ -2911,4 +2911,11 @@
 }
 
+void MStatusDisplay::SaveAs(const char *c, const Option_t *o) const
+{
+#if ROOT_VERSION_CODE >= ROOT_VERSION(5,18,00)
+    TGObject::SaveAs(c, o);
+#endif
+}
+
 // --------------------------------------------------------------------------
 //
Index: /trunk/MagicSoft/Mars/mbase/MStatusDisplay.h
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MStatusDisplay.h	(revision 8925)
+++ /trunk/MagicSoft/Mars/mbase/MStatusDisplay.h	(revision 8926)
@@ -225,6 +225,6 @@
      Int_t  SaveAs(TString name)        { return SaveAs(-1, name); }
      Int_t  PrintPS() { return PrintPS(-1); }
-     
-     void SaveAs(const char *c, const Option_t *o) const { TGObject::SaveAs(c, o); }
+
+     void   SaveAs(const char *c, const Option_t *o) const;
 
      Int_t  SaveAsPS(Int_t num, TString name="",  const TString addon="") { return SaveAsVGF(num, name, addon, "ps"); }
