X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb71207424c20cc8aa39280e108a9bb12cb379e1..d841895246c188d722bae08e9f37c7270bc56ea8:/samples/opengl/penguin/lw.h diff --git a/samples/opengl/penguin/lw.h b/samples/opengl/penguin/lw.h index be8c727bb5..0a4ca382d9 100644 --- a/samples/opengl/penguin/lw.h +++ b/samples/opengl/penguin/lw.h @@ -61,13 +61,15 @@ typedef struct { extern "C" { #endif -int lw_is_lwobject(const char *lw_file); +#if wxUSE_GLCANVAS +bool lw_is_lwobject(const char *lw_file); lwObject *lw_object_read(const char *lw_file); void lw_object_free( lwObject *lw_object); 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 }