Hey, I just had the same problem with the libraries.
Found the fix, go into the file;
C:\Users\a\Desktop\arduino-1.0-windows\arduino-1.0\libraries\ITDB02_Graph\ITDB02_Graph.cpp
and also the same director but the .h file, and change the "WProgram.h" line to "Arduino.h"
Do this for the ITDB02_Graph and ITDB02_Touch library, and then the code will compile fine.