mirror of https://github.com/fltk/fltk
Added const to help Borland compiler
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1463 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
07656afb7d
commit
eb734da4ac
|
@ -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 $".
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue