]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/penguin/lw.cpp
wxZlibStreams fixes; allow them to be used as deflate [de]compressor in gz/zip files...
[wxWidgets.git] / samples / opengl / penguin / lw.cpp
index 44c2dd32b4e93a73648df4ef2339514172cf98b4..baa729a2c88c91ebe7fae7cd4d9a3495973d6736 100644 (file)
@@ -36,6 +36,8 @@
 #include <stdio.h>
 #include <math.h>
 
+#if wxUSE_GLCANVAS
+
 #define MK_ID(a,b,c,d) ((((wxUint32)(a))<<24)| \
             (((wxUint32)(b))<<16)| \
             (((wxUint32)(c))<< 8)| \
@@ -435,4 +437,5 @@ void lw_object_scale(lwObject *lwo, GLfloat scale)
   }
 }
 
+#endif