projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support Show() in wxFlexGridSizer (patch 737850)
[wxWidgets.git]
/
samples
/
opengl
/
penguin
/
lw.h
diff --git
a/samples/opengl/penguin/lw.h
b/samples/opengl/penguin/lw.h
index b49e8ffc912054a5048f692f9424ad392fdd1385..be8c727bb568722b33f0a1c751caaad25050b4bd 100644
(file)
--- a/
samples/opengl/penguin/lw.h
+++ b/
samples/opengl/penguin/lw.h
@@
-20,7
+20,15
@@
#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