Author: manolo
Date: 2012-06-11 02:28:49 -0700 (Mon, 11 Jun 2012)
New Revision: 9587
Log:
FLTK1 compatibility: no need for copy() members for subclasses of Fl_Image.

Modified:
   branches/branch-3.0/include/FL/Fl_Image.H

Modified: branches/branch-3.0/include/FL/Fl_Image.H
===================================================================
--- branches/branch-3.0/include/FL/Fl_Image.H   2012-06-10 22:26:11 UTC (rev 
9586)
+++ branches/branch-3.0/include/FL/Fl_Image.H   2012-06-11 09:28:49 UTC (rev 
9587)
@@ -178,17 +178,7 @@
     _p = img;
     _p->wrapper(this);
   }
-  
-  Fl_Image *copy() { 
-    //return new Fl_RGB_Image( ((fltk3::RGBImage*)_p)->copy() );
-    return Fl_Image::copy();
-  }
-  
-  Fl_Image *copy(int w, int h) { 
-    //return new Fl_RGB_Image( ((fltk3::RGBImage*)_p)->copy(w, h) );
-    return Fl_Image::copy(w, h);
-  }
-  
+    
   void draw(int X, int Y) {
     ((fltk3::Image*)_p)->draw(X, Y);
   }

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to