/////////////////////////////////////////////////////////////////////////////
// Name: wx/msw/glcanvas.h
-// Purpose: wxGLCanvas, for using OpenGL with wxWindows under Windows
+// Purpose: wxGLCanvas, for using OpenGL with wxWidgets under Windows
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifndef _WX_GLCANVAS_H_
+#define _WX_GLCANVAS_H_
+
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "glcanvas.h"
#endif
-#ifndef _WX_GLCANVAS_H_
-#define _WX_GLCANVAS_H_
-
#include "wx/palette.h"
#include "wx/scrolwin.h"
const wxPalette& palette = wxNullPalette);
wxGLCanvas(wxWindow *parent,
- const wxGLContext *shared = (wxGLContext *) NULL,
+ const wxGLContext *shared,
wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxPalette& palette = wxNullPalette);
wxGLCanvas(wxWindow *parent,
- const wxGLCanvas *shared = (wxGLCanvas *)NULL,
+ const wxGLCanvas *shared,
wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,