diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2001-05-30 16:18:33 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2001-05-30 16:18:33 +0000 |
| commit | eb734da4acdadc3ecddd769f97360405c731ce24 (patch) | |
| tree | e20a8ecdee4990325b7d2da203007b695bbb0c1f /FL | |
| parent | 07656afb7d81867ce91ac1c83645e28d276e1302 (diff) | |
Added const to help Borland compiler
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/forms.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/forms.H b/FL/forms.H index cf7d003d3..4fac20518 100644 --- a/FL/forms.H +++ b/FL/forms.H @@ -1,5 +1,5 @@ // -// "$Id: forms.H,v 1.7.2.6 2001/01/22 15:13:38 easysw Exp $" +// "$Id: forms.H,v 1.7.2.7 2001/05/30 16:18:33 spitzak Exp $" // // Forms emulation header file for the Fast Light Tool Kit (FLTK). // @@ -502,7 +502,7 @@ inline void fl_set_bitmapbutton_data(Fl_Widget* o,int a,int b,uchar* c) { (new Fl_Bitmap(c,a,b))->label(o);} // does not delete old Fl_Bitmap! inline Fl_Widget* fl_add_pixmapbutton(int t,int x,int y,int w,int h,const char* l) {Fl_Widget* o = fl_add_button(t,x,y,w,h,l); return o;} -inline void fl_set_pixmapbutton_data(Fl_Widget* o, char*const* c) { +inline void fl_set_pixmapbutton_data(Fl_Widget* o, const char*const* c) { (new Fl_Pixmap(c))->label(o);} // does not delete old Fl_Pixmap! // Fl_Canvas object not yet implemented! @@ -838,5 +838,5 @@ inline void fl_draw() {Fl::flush();} #endif /* define __FORMS_H__ */ // -// End of "$Id: forms.H,v 1.7.2.6 2001/01/22 15:13:38 easysw Exp $". +// End of "$Id: forms.H,v 1.7.2.7 2001/05/30 16:18:33 spitzak Exp $". // |
