Fixes errors:
warning: deprecated conversion from string constant to 'char*' git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10040 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8e30fc438c
commit
1af599b4af
@ -31,9 +31,9 @@
|
||||
|
||||
#if FLTK_ABI_VERSION >= 10301
|
||||
class MyTable : public Fl_Table {
|
||||
char *mode;
|
||||
const char *mode;
|
||||
public:
|
||||
MyTable(int X,int Y,int W,int H,char *mode) : Fl_Table(X,Y,W,H) {
|
||||
MyTable(int X,int Y,int W,int H,const char *mode) : Fl_Table(X,Y,W,H) {
|
||||
rows(11); row_height_all(20); row_header(1);
|
||||
cols(11); col_width_all(60); col_header(1);
|
||||
col_resize(1); // enable column resizing
|
||||
|
Loading…
Reference in New Issue
Block a user