error typedef Status fix for #904

This commit is contained in:
noabody 2022-07-28 08:34:27 -06:00 committed by Rafael Kitover
parent 51473a7c53
commit fb99a07625
1 changed files with 3 additions and 0 deletions

View File

@ -2076,6 +2076,9 @@ void BasicDrawingPanel::DrawImage(wxWindowDC& dc, wxImage* im)
#include <OpenGL/OpenGL.h> #include <OpenGL/OpenGL.h>
#endif #endif
#ifdef __WXGTK__ // should actually check for X11, but GTK implies X11 #ifdef __WXGTK__ // should actually check for X11, but GTK implies X11
#ifndef Status
#define Status int
#endif
#include <GL/glx.h> #include <GL/glx.h>
#endif #endif
#ifdef __WXMSW__ #ifdef __WXMSW__