diff --git a/src/wx/panel.cpp b/src/wx/panel.cpp index 0ddf6169..9f621731 100644 --- a/src/wx/panel.cpp +++ b/src/wx/panel.cpp @@ -2076,6 +2076,9 @@ void BasicDrawingPanel::DrawImage(wxWindowDC& dc, wxImage* im) #include #endif #ifdef __WXGTK__ // should actually check for X11, but GTK implies X11 +#ifndef Status +#define Status int +#endif #include #endif #ifdef __WXMSW__