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:
@@ -61,7 +61,7 @@ public:
|
||||
// implement wxGLCanvasX11 methods
|
||||
// -------------------------------
|
||||
|
||||
virtual Window GetXWindow() const;
|
||||
virtual unsigned long GetXWindow() const;
|
||||
|
||||
|
||||
// deprecated methods
|
||||
|
Reference in New Issue
Block a user