Hi!
If you wrote the following line like this
pan_setbutton(gp[0],0,1, // set a new push button for quitting the game
10,10,gb[1],gb[2],gb[3],NULL,buttonpro(1),NULL,NULL);
Then you should write it like
pan_setbutton(gp[0],0,1, 10,10,gb[1],gb[2],gb[3],NULL,buttonpro(1),NULL,NULL); // set a new push button for quitting the game