#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
{
public:
// default ctor doesn't initialize the window, use Create() later
- wxGLCanvasBase()
- {
-#if WXWIN_COMPATIBILITY_2_8
- m_glContext = NULL;
-#endif
- }
+ wxGLCanvasBase();
virtual ~wxGLCanvasBase();
// 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);