X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b089c5e8c8a2140258d150ca1ce42afd3b79e1b..a67c56641d3a1a22764570f9d487ba916e4ade3c:/samples/opengl/penguin/lw.h diff --git a/samples/opengl/penguin/lw.h b/samples/opengl/penguin/lw.h index b49e8ffc91..ebe5bda2d3 100644 --- a/samples/opengl/penguin/lw.h +++ b/samples/opengl/penguin/lw.h @@ -20,7 +20,15 @@ #ifndef LW_H #define LW_H -#include +#ifdef __WXMAC__ +# ifdef __DARWIN__ +# include +# else +# include +# endif +#else +# include +#endif #define LW_MAX_POINTS 200 #define LW_MAX_NAME_LEN 500 @@ -53,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); @@ -60,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 }