diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-02 11:23:27 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-02 11:23:27 +0000 |
| commit | bc3de1ec15062a9016150c124d6a4d6c14d87720 (patch) | |
| tree | 182960a45f3b0e681708c9bba00f8ebe94112f57 /test | |
| parent | e864789db9c66f588c232d1a901b92beb8e8d817 (diff) | |
Fix label/image problems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/pixmap_browser.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/pixmap_browser.cxx b/test/pixmap_browser.cxx index 7b9041e75..9c0696e85 100644 --- a/test/pixmap_browser.cxx +++ b/test/pixmap_browser.cxx @@ -1,5 +1,5 @@ // -// "$Id: pixmap_browser.cxx,v 1.5.2.4 2001/01/22 15:13:41 easysw Exp $" +// "$Id: pixmap_browser.cxx,v 1.5.2.4.2.1 2001/09/02 11:23:27 easysw Exp $" // // Another pixmap test program for the Fast Light Tool Kit (FLTK). // @@ -123,7 +123,8 @@ Fl_Pixmap *pixmap; void newpixmap() { delete pixmap; pixmap = new Fl_Pixmap(data); - pixmap->label(b); + b->image(pixmap); + b->redraw(); w->redraw(); } @@ -165,5 +166,5 @@ int main(int argc, char **argv) { } // -// End of "$Id: pixmap_browser.cxx,v 1.5.2.4 2001/01/22 15:13:41 easysw Exp $". +// End of "$Id: pixmap_browser.cxx,v 1.5.2.4.2.1 2001/09/02 11:23:27 easysw Exp $". // |
