I am unable to get the openGL samples that come with wxwindows to compile with Dev-C++. I can get most of the other samples to compile and I can get openGL stuff to work in visual Studio.
You can't build these examples with the package you mentioned, because it is not built with OpenGL support. You have to rebuild wxWindows from the source distribution, but i have not succeeded with Dev-C++ 4.9.8.0.