summaryrefslogtreecommitdiff
path: root/FL/Fl_Pixmap.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-03-23 17:03:24 +0000
committerManolo Gouy <Manolo>2018-03-23 17:03:24 +0000
commitb8a50851fd1bc77fb910bdfdac0eab106a430e6b (patch)
tree35b0fe68f30676872dbac6c531fed721ba7168e8 /FL/Fl_Pixmap.H
parentbd5ec3314892145c6bd669849c092e6aedeede6c (diff)
Fix Fl_Image::copy() and its versions for derived image classes following the introduction of Fl_Image::scale()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Pixmap.H')
-rw-r--r--FL/Fl_Pixmap.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Pixmap.H b/FL/Fl_Pixmap.H
index 7a4c50144..fa45b3fbb 100644
--- a/FL/Fl_Pixmap.H
+++ b/FL/Fl_Pixmap.H
@@ -69,7 +69,7 @@ public:
explicit Fl_Pixmap(const uchar* const * D) : Fl_Image(-1,0,1), alloc_data(0), id_(0), mask_(0) {set_data((const char*const*)D); measure();}
virtual ~Fl_Pixmap();
virtual Fl_Image *copy(int W, int H);
- Fl_Image *copy() { return copy(w(), h()); }
+ Fl_Image *copy() { return Fl_Image::copy(); }
virtual void color_average(Fl_Color c, float i);
virtual void desaturate();
virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0);