#include <GL/gl.h>
-class WXDLLIMPEXP_GL wxGLCanvas; /* forward reference */
+class WXDLLIMPEXP_FWD_GL wxGLCanvas; /* forward reference */
class WXDLLIMPEXP_GL wxGLContext: public wxObject
{
void SetCurrent();
- void SetColour(const wxChar *colour);
+ void SetColour(const wxString& colour);
void SwapBuffers();
void SetupPalette(const wxPalette& palette);
- wxPalette CreateDefaultPalette();
-
- inline wxPalette* GetPalette() const { return (wxPalette *) &m_palette; }
-
protected:
- wxGLContext* m_glContext; // this is typedef-ed ptr, in fact
- wxPalette m_palette;
WXHDC m_hDC;
DECLARE_EVENT_TABLE()