]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/penguin/lw.h
fixed mouse input handling in wxUniv: the static boxes ust be transparent
[wxWidgets.git] / samples / opengl / penguin / lw.h
index b49e8ffc912054a5048f692f9424ad392fdd1385..be8c727bb568722b33f0a1c751caaad25050b4bd 100644 (file)
 #ifndef LW_H
 #define LW_H
 
-#include <GL/gl.h>
+#ifdef __WXMAC__
+#  ifdef __DARWIN__
+#    include <OpenGL/glu.h>
+#  else
+#    include <glu.h>
+#  endif
+#else
+#  include <GL/glu.h>
+#endif
 
 #define LW_MAX_POINTS   200
 #define LW_MAX_NAME_LEN 500