X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/498ace9e1f08b1e177b1a883ac69d12385e805b0..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/glcanvas.h?ds=sidebyside diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h index adbbb033a1..bb4ffa498a 100644 --- a/include/wx/glcanvas.h +++ b/include/wx/glcanvas.h @@ -20,8 +20,8 @@ #include "wx/palette.h" #include "wx/window.h" -class WXDLLIMPEXP_GL wxGLCanvas; -class WXDLLIMPEXP_GL wxGLContext; +class WXDLLIMPEXP_FWD_GL wxGLCanvas; +class WXDLLIMPEXP_FWD_GL wxGLContext; // ---------------------------------------------------------------------------- // Constants for attributes list @@ -77,12 +77,7 @@ class WXDLLIMPEXP_GL wxGLCanvasBase : public wxWindow { public: // default ctor doesn't initialize the window, use Create() later - wxGLCanvasBase() - { -#if WXWIN_COMPATIBILITY_2_8 - m_glContext = NULL; -#endif - } + wxGLCanvasBase(); virtual ~wxGLCanvasBase(); @@ -120,7 +115,7 @@ public: // call glcolor() for the colour with the given name, return false if // colour not found - bool SetColour(const wxChar *colour); + bool SetColour(const wxString& colour);