fix 64 bit build
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6938 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
dbd1dcde3c
commit
7c3dad02eb
@ -273,19 +273,19 @@ char *itoa(int val)
|
||||
|
||||
void tablebox_choice_cb(Fl_Widget *w, void *data)
|
||||
{
|
||||
G_table->table_box((Fl_Boxtype)(int)data);
|
||||
G_table->table_box((Fl_Boxtype)(long)data);
|
||||
G_table->redraw();
|
||||
}
|
||||
|
||||
void widgetbox_choice_cb(Fl_Widget *w, void *data)
|
||||
{
|
||||
G_table->box((Fl_Boxtype)(int)data);
|
||||
G_table->box((Fl_Boxtype)(long)data);
|
||||
G_table->resize(G_table->x(), G_table->y(), G_table->w(), G_table->h());
|
||||
}
|
||||
|
||||
void type_choice_cb(Fl_Widget *w, void *data)
|
||||
{
|
||||
G_table->type((Fl_Table_Row::TableRowSelectMode)(int)data);
|
||||
G_table->type((Fl_Table_Row::TableRowSelectMode)(long)data);
|
||||
}
|
||||
|
||||
Fl_Menu_Item tablebox_choices[] = {
|
||||
|
@ -92,7 +92,7 @@ static void cb_tree(Fl_Tree*, void*) {
|
||||
//tree->redraw();
|
||||
fprintf(stderr, "TREE CALLBACK: label='%s' userdata=%d\n",
|
||||
item->label(),
|
||||
(int)tree->user_data());
|
||||
(long)tree->user_data());
|
||||
}
|
||||
|
||||
Fl_Value_Slider *labelsize_slider=(Fl_Value_Slider *)0;
|
||||
|
Loading…
Reference in New Issue
Block a user