Avoid including X11 headers from <wx/glcanvas.h>
It's generally wxWidgets policy not to include platform-specific headers from our own to avoid namespace pollution issues, in this case with names like "None" and "Window".
This commit is contained in:
@@ -63,7 +63,7 @@ public:
|
||||
// implement wxGLCanvasX11 methods
|
||||
// --------------------------------
|
||||
|
||||
virtual Window GetXWindow() const wxOVERRIDE;
|
||||
virtual unsigned long GetXWindow() const wxOVERRIDE;
|
||||
|
||||
|
||||
// deprecated methods
|
||||
|
Reference in New Issue
Block a user