X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3dec57adfdb2469b7679930092f0bd9c8569d62c..3682ea7d2cafc2cbb3f9093e0f864dfff54327dd:/samples/opengl/penguin/lw.h diff --git a/samples/opengl/penguin/lw.h b/samples/opengl/penguin/lw.h index 06d8d520ab..ebe5bda2d3 100644 --- a/samples/opengl/penguin/lw.h +++ b/samples/opengl/penguin/lw.h @@ -21,9 +21,13 @@ #define LW_H #ifdef __WXMAC__ -#include +# ifdef __DARWIN__ +# include +# else +# include +# endif #else -#include +# include #endif #define LW_MAX_POINTS 200 @@ -57,6 +61,7 @@ typedef struct { extern "C" { #endif +#if wxUSE_GLCANVAS int lw_is_lwobject(const char *lw_file); lwObject *lw_object_read(const char *lw_file); void lw_object_free( lwObject *lw_object); @@ -64,6 +69,7 @@ void lw_object_show(const lwObject *lw_object); GLfloat lw_object_radius(const lwObject *lw_object); void lw_object_scale (lwObject *lw_object, GLfloat scale); +#endif #ifdef __cplusplus }