]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/penguin/penguin.cpp
implemented dummy wxPalette for wxGTK, so that it no longer pops up assertion failure...
[wxWidgets.git] / samples / opengl / penguin / penguin.cpp
index 8eaed6a1d9bd74fb9361e90604628e42da3190fd..077fc90bcae674e494fafe48fbffdf55a22bbf91 100644 (file)
 #include "wx/wx.h"
 #endif
 
+#if !wxUSE_GLCANVAS
+#error Please set wxUSE_GLCANVAS to 1 in setup.h.
+#endif
+
 #include "penguin.h"
 #include <GL/glu.h>